philip Fri Mar 8 15:27:33 2002 EDT
Modified files:
/phpdoc/en/functions mysql.xml
Log:
mysql_connect: * <note> new_link parameter became available in 4.2.0
* linked '@' to appropriate manual page
Index: phpdoc/en/functions/mysql.xml
diff -u phpdoc/en/functions/mysql.xml:1.87 phpdoc/en/functions/mysql.xml:1.88
--- phpdoc/en/functions/mysql.xml:1.87 Wed Mar 6 05:39:29 2002
+++ phpdoc/en/functions/mysql.xml Fri Mar 8 15:27:33 2002
@@ -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 @@
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 @@
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