<?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> <refentry xml:id="function.mysql-get-client-info" xmlns="http://docbook.org/ns/docbook" xmlns:phd="http://www.php.net/ns/phd"> <refnamediv> <refname>mysql_get_client_info</refname> <refpurpose>Get MySQL client info</refpurpose> </refnamediv> <refsynopsisdiv> <warning> &mysql.alternative.note; <simplelist role="alternatives"> <member><function>mysqli_get_client_info</function></member> <member><methodname phd:args="PDO::ATTR_CLIENT_VERSION">PDO::getAttribute</methodname></member> </simplelist> </warning> </refsynopsisdiv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>mysql_get_client_info</methodname> <void/> </methodsynopsis> <para> <function>mysql_get_client_info</function> returns a string that represents the client library version. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> The MySQL client version. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>mysql_get_client_info</function> example</title> <programlisting role="php"> <![CDATA[ <?php printf("MySQL client info: %s\n", mysql_get_client_info()); ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ MySQL client info: 3.23.39 ]]> </screen> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>mysql_get_host_info</function></member> <member><function>mysql_get_proto_info</function></member> <member><function>mysql_get_server_info</function></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"~/.phpdoc/manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->