2002-04-15 00:12:54 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2004-01-05 13:03:26 +00:00
|
|
|
<!-- $Revision: 1.6 $ -->
|
2002-04-15 00:12:54 +00:00
|
|
|
<!-- splitted from ./en/functions/mysql.xml, last change in rev 1.62 -->
|
|
|
|
<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>
|
|
|
|
<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>
|
2003-07-09 15:07:29 +00:00
|
|
|
<para>
|
|
|
|
<example>
|
|
|
|
<title><function>mysql_get_client_info</function> example</title>
|
|
|
|
<programlisting role="php">
|
2002-04-21 16:08:19 +00:00
|
|
|
<![CDATA[
|
|
|
|
<?php
|
2004-01-05 13:03:26 +00:00
|
|
|
printf("MySQL client info: %s\n", mysql_get_client_info());
|
2002-04-21 16:08:19 +00:00
|
|
|
?>
|
|
|
|
]]>
|
2003-07-09 15:07:29 +00:00
|
|
|
</programlisting>
|
|
|
|
<para>
|
|
|
|
The above example would produce the following output:
|
|
|
|
</para>
|
|
|
|
<screen>
|
2002-04-21 16:08:19 +00:00
|
|
|
<![CDATA[
|
|
|
|
MySQL client info: 3.23.39
|
|
|
|
]]>
|
2003-07-09 15:07:29 +00:00
|
|
|
</screen>
|
|
|
|
</example>
|
|
|
|
</para>
|
2002-04-15 00:12:54 +00:00
|
|
|
<para>
|
2003-07-09 15:07:29 +00:00
|
|
|
See also
|
|
|
|
<function>mysql_get_host_info</function>,
|
|
|
|
<function>mysql_get_proto_info</function> and
|
|
|
|
<function>mysql_get_server_info</function>.
|
2002-04-15 00:12:54 +00:00
|
|
|
</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:"../../../../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
|
|
|
|
-->
|