cvs: phpdoc /en/functions mysql.xml

From: Date: Mon, 21 May 2001 09:37:24 +0000
Subject: cvs: phpdoc /en/functions mysql.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969335479@lists.php.net to get a copy of this message
dams Mon May 21 02:37:24 2001 EDT Modified files: /phpdoc/en/functions mysql.xml Log: Added last mysql_get_*_info.TODO : check version availability, add examples. Index: phpdoc/en/functions/mysql.xml diff -u phpdoc/en/functions/mysql.xml:1.45 phpdoc/en/functions/mysql.xml:1.46 --- phpdoc/en/functions/mysql.xml:1.45 Sat May 19 15:03:50 2001 +++ phpdoc/en/functions/mysql.xml Mon May 21 02:37:24 2001 @@ -625,7 +625,7 @@ <refnamediv> <refname>mysql_escape_string</refname> <refpurpose> - Escapes a string for use in a MySQL-query. + Escapes a string for use in a mysql_query. </refpurpose> </refnamediv> <refsect1> @@ -638,7 +638,7 @@ </funcsynopsis> <para> This function will escape the <parameter>unescaped_string</parameter>, - so that it is safe to place it in a MySQL-query. + so that it is safe to place it in a <function>mysql_query</function>. </para> <note> <simpara> @@ -1979,6 +1979,104 @@ </refsect1> </refentry> + <refentry id="function.mysql-get-client-info"> + <refnamediv> + <refname>mysql_get_client_info</refname> + <refpurpose>Get MySQL client info</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>mysql_get_client_info</function></funcdef> + <paramdef>void <parameter></parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>mysql_get_client_info</function> returns a string that represents + the client library version. + </para> + <para> + <function>mysql_get_client_info</function> was added in PHP 4.0.5. + </para> + </refsect1> + </refentry> + + <refentry id="function.mysql-get-host-info"> + <refnamediv> + <refname>mysql_get_host_info</refname> + <refpurpose>Get MySQL host info</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>mysql_get_host_info</function></funcdef> + <paramdef>resource <parameter><optional>link_identifier</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>mysql_get_host_info</function> returns a string + describing the type of connection in use for the connection + <parameter>link_identifier</parameter>, including the server host name. + If <parameter>link_identifier</parameter> is omited, the last opened + connection will be used. + </para> + <para> + <function>mysql_get_host_info</function> was added in PHP 4.0.5. + </para> + </refsect1> + </refentry> + + <refentry id="function.mysql-get-proto-info"> + <refnamediv> + <refname>mysql_get_proto_info</refname> + <refpurpose>Get MySQL protocol info</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>mysql_get_proto_info</function></funcdef> + <paramdef>resource <parameter><optional>link_identifier</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>mysql_get_proto_info</function> returns the protocol version + used by connection <parameter>link_identifier</parameter>. + If <parameter>link_identifier</parameter> is omited, the last opened + connection will be used. + </para> + <para> + <function>mysql_get_proto_info</function> was added in PHP 4.0.5. + </para> + </refsect1> + </refentry> + + <refentry id="function.mysql-get-server-info"> + <refnamediv> + <refname>mysql_get_server_info</refname> + <refpurpose>Get MySQL server info</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>mysql_get_server_info</function></funcdef> + <paramdef>resource <parameter><optional>link_identifier</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>mysql_get_server_info</function> returns the server version + used by connection <parameter>link_identifier</parameter>. + If <parameter>link_identifier</parameter> is omited, the last opened + connection will be used. + </para> + <para> + <function>mysql_get_server_info</function> was added in PHP 4.0.5. + </para> + </refsect1> + </refentry> </reference> <!-- Keep this comment at the end of the file

« previous php.doc (#969335479) next »