cvs: phpdoc /en/functions mysql.xml

From: Date: Fri, 16 Nov 2001 22:22:18 +0000
Subject: cvs: phpdoc /en/functions mysql.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969338930@lists.php.net to get a copy of this message
hholzgra Fri Nov 16 17:22:18 2001 EDT Modified files: /phpdoc/en/functions mysql.xml Log: removed optional bloat from prototypes Index: phpdoc/en/functions/mysql.xml diff -u phpdoc/en/functions/mysql.xml:1.68 phpdoc/en/functions/mysql.xml:1.69 --- phpdoc/en/functions/mysql.xml:1.68 Fri Nov 16 13:58:43 2001 +++ phpdoc/en/functions/mysql.xml Fri Nov 16 17:22:18 2001 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.68 $ --> +<!-- $Revision: 1.69 $ --> <reference id="ref.mysql"> <title>MySQL Functions</title> <titleabbrev>MySQL</titleabbrev> @@ -238,10 +238,7 @@ <funcdef>resource <function>mysql_connect</function></funcdef> <paramdef>string <parameter> - <optional>hostname - <optional>:port</optional> - <optional>:/path/to/socket</optional> - </optional> + <optional>server</optional> </parameter> </paramdef> <paramdef>string @@ -262,13 +259,13 @@ <para> <function>mysql_connect</function> establishes a connection to a MySQL server. The following defaults are assumed for - missing optional parameters: <parameter>host:port</parameter> = + missing optional parameters: <parameter>server</parameter> = 'localhost:3306', <parameter>username</parameter> = name of the user that owns the server process and <parameter>password</parameter> = empty password. </para> <para> - The hostname string can also include a port + The <paramter>server</parameter> parameter can also include a port number. eg. &quot;hostname:port&quot; or a path to a socket eg. &quot;:/path/to/socket&quot; for the localhost. <note> @@ -1685,10 +1682,7 @@ <funcdef>resource <function>mysql_pconnect</function></funcdef> <paramdef>string <parameter> - <optional>hostname - <optional>:port</optional> - <optional>:/path/to/socket</optional> - </optional> + <optional>server</optional> </parameter> </paramdef> <paramdef>string @@ -1706,13 +1700,13 @@ <para> <function>mysql_pconnect</function> establishes a connection to a MySQL server. The following defaults are assumed for - missing optional parameters: <parameter>host:port</parameter> = + missing optional parameters: <parameter>server</parameter> = 'localhost:3306', <parameter>username</parameter> = name of the user that owns the server process and <parameter>password</parameter> = empty password. </para> <para> - The hostname string can also include a port + The <paramter>server</parameter> parameter can also include a port number. eg. &quot;hostname:port&quot; or a path to a socket eg. &quot;:/path/to/socket&quot; for the localhost. <note>

« previous php.doc (#969338930) next »