derick          Wed Mar  6 05:39:30 2002 EDT

  Modified files:              
    /phpdoc/en/functions        mysql.xml 
  Log:
  - Document the new "new_link" parameter to mysql_connect
  
  
Index: phpdoc/en/functions/mysql.xml
diff -u phpdoc/en/functions/mysql.xml:1.86 phpdoc/en/functions/mysql.xml:1.87
--- phpdoc/en/functions/mysql.xml:1.86  Wed Feb 13 17:13:26 2002
+++ phpdoc/en/functions/mysql.xml       Wed Mar  6 05:39:29 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.86 $ -->
+<!-- $Revision: 1.87 $ -->
  <reference id="ref.mysql">
   <title>MySQL Functions</title>
   <titleabbrev>MySQL</titleabbrev>
@@ -293,6 +293,9 @@
       <methodparam choice="opt"><type>string</type><parameter>
         password
        </parameter></methodparam>
+      <methodparam choice="opt"><type>bool</type><parameter>
+        new_link
+       </parameter></methodparam>
      </methodsynopsis>
     <para>
      Returns a MySQL link identifier on success, or &false; on failure.
@@ -327,7 +330,10 @@
      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.
+     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.
     </para>
     <para>
      The link to the server will be closed as soon as the execution of


Reply via email to