cvs: phpdoc /en/reference/mysql/functions mysql-get-client-info.xml

From: Date: Sun, 21 Apr 2002 16:06:38 +0000
Subject: cvs: phpdoc /en/reference/mysql/functions mysql-get-client-info.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969344677@lists.php.net to get a copy of this message
georg Sun Apr 21 12:06:38 2002 EDT Modified files: /phpdoc/en/reference/mysql/functions mysql-get-client-info.xml Log: added sample added see alsos Index: phpdoc/en/reference/mysql/functions/mysql-get-client-info.xml diff -u phpdoc/en/reference/mysql/functions/mysql-get-client-info.xml:1.2 phpdoc/en/reference/mysql/functions/mysql-get-client-info.xml:1.3 --- phpdoc/en/reference/mysql/functions/mysql-get-client-info.xml:1.2 Wed Apr 17 02:41:12 2002 +++ phpdoc/en/reference/mysql/functions/mysql-get-client-info.xml Sun Apr 21 12:06:37 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.62 --> <refentry id="function.mysql-get-client-info"> <refnamediv> @@ -16,8 +16,28 @@ <function>mysql_get_client_info</function> returns a string that represents the client library version. </para> + <example> + <title>mysql_get_client_info Example</title> + <programlisting role="php"> +<![CDATA[ +<?php + printf ("MySQL client info: %s\n", mysql_get_client_info()); +?> +]]> + </programlisting> + <para> + The above example would produce the following output: + </para> + <screen> +<![CDATA[ +MySQL client info: 3.23.39 +]]> + </screen> + </example> <para> - <function>mysql_get_client_info</function> was added in PHP 4.0.5. + See also: <function>mysql_get_host_info</function>, + <function>mysql_get_proto_info</function> and + <function>mysql_get_server_info</function>. </para> </refsect1> </refentry>

« previous php.doc (#969344677) next »