georg Wed Jul 10 11:34:02 2002 EDT
Modified files:
/phpdoc/en/reference/mysql/functions mysql-connect.xml
Log:
documented new optional parameter client_flags
Index: phpdoc/en/reference/mysql/functions/mysql-connect.xml
diff -u phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.2
phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.3
--- phpdoc/en/reference/mysql/functions/mysql-connect.xml:1.2 Wed Apr 17 02:41:05
2002
+++ phpdoc/en/reference/mysql/functions/mysql-connect.xml Wed Jul 10 11:34:01
+2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 -->
<refentry id="function.mysql-connect">
<refnamediv>
@@ -22,6 +22,9 @@
<methodparam choice="opt"><type>bool</type><parameter>
new_link
</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>
+ client_flags
+ </parameter></methodparam>
</methodsynopsis>
<para>
Returns a MySQL link identifier on success, or &false; on failure.
@@ -60,12 +63,18 @@
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.
+ before with the same parameters. The <parameter>client_flags</parameter>
+ parameter can be a combination of the constants MYSQL_CLIENT_SSL,
+ MYSQL_CLIENT_COMPRESS, MYSQL_CLIENT_IGNORE_SPACE or MYSQL_CLIENT_INTERACTIVE.
</para>
<note>
<para>
The <parameter>new_link</parameter> parameter became available
in PHP 4.2.0
+ </para>
+ <para>
+ The <parameter>client_flags</parameter> parameter became available in
+ PHP 4.3.0
</para>
</note>
<para>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php