mysql_connect: * <note> new_link parameter became available in 4.2.0

* linked '@' to appropriate manual page


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@72519 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2002-03-08 20:27:33 +00:00
parent 574b732e46
commit 802130ac4a

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.87 $ -->
<!-- $Revision: 1.88 $ -->
<reference id="ref.mysql">
<title>MySQL Functions</title>
<titleabbrev>MySQL</titleabbrev>
@ -321,7 +321,8 @@ mysql_close($link);
PHP 3.0.10.
</para>
<para>
You can suppress the error message on failure by prepending '@'
You can suppress the error message on failure by prepending
a <link linkend="language.operators.errorcontrol">@</link>
to the function name.
</para>
</note>
@ -330,11 +331,17 @@ mysql_close($link);
If a second call is made to <function>mysql_connect</function>
with the same arguments, no new link will be established, but
instead, the link identifier of the already opened link will be
returned. The <parameter>new_link</parameter> modifies this behavior and
makes <function>mysql_connect</function> always open a new link, even if
<function>mysql_connect</function> was called before with the same
parameters.
returned. The <parameter>new_link</parameter> parameter modifies this
behavior and makes <function>mysql_connect</function> always open
a new link, even if <function>mysql_connect</function> was called
before with the same parameters.
</para>
<note>
<para>
The <parameter>new_link</parameter> parameter became available
in PHP 4.2.0
</para>
</note>
<para>
The link to the server will be closed as soon as the execution of
the script ends, unless it's closed earlier by explicitly calling