2010-03-28 22:10:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2009-07-11 08:13:42 +00:00
|
|
|
<!-- $Revision$ -->
|
2012-06-09 19:04:39 +00:00
|
|
|
<refentry xml:id="function.mysql-get-client-info" xmlns="http://docbook.org/ns/docbook" xmlns:phd="http://www.php.net/ns/phd">
|
2005-03-30 04:07:29 +00:00
|
|
|
<refnamediv>
|
|
|
|
<refname>mysql_get_client_info</refname>
|
|
|
|
<refpurpose>Get MySQL client info</refpurpose>
|
|
|
|
</refnamediv>
|
2005-03-31 07:47:25 +00:00
|
|
|
|
2012-12-10 15:22:07 +00:00
|
|
|
<refsynopsisdiv>
|
|
|
|
<warning>
|
2012-06-05 07:55:24 +00:00
|
|
|
&mysql.alternative.note;
|
|
|
|
<simplelist role="alternatives">
|
|
|
|
<member><function>mysqli_get_client_info</function></member>
|
2012-06-09 19:04:39 +00:00
|
|
|
<member><methodname phd:args="PDO::ATTR_CLIENT_VERSION">PDO::getAttribute</methodname></member>
|
2012-06-05 07:55:24 +00:00
|
|
|
</simplelist>
|
2012-12-10 15:22:07 +00:00
|
|
|
</warning>
|
2012-06-05 07:55:24 +00:00
|
|
|
</refsynopsisdiv>
|
|
|
|
|
2005-03-31 07:47:25 +00:00
|
|
|
<refsect1 role="description">
|
|
|
|
&reftitle.description;
|
2005-03-30 06:27:14 +00:00
|
|
|
<methodsynopsis>
|
|
|
|
<type>string</type><methodname>mysql_get_client_info</methodname>
|
|
|
|
<void/>
|
|
|
|
</methodsynopsis>
|
2005-03-30 04:07:29 +00:00
|
|
|
<para>
|
|
|
|
<function>mysql_get_client_info</function> returns a string that
|
|
|
|
represents the client library version.
|
|
|
|
</para>
|
2005-03-31 07:47:25 +00:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="returnvalues">
|
|
|
|
&reftitle.returnvalues;
|
|
|
|
<para>
|
|
|
|
The MySQL client version.
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
2012-06-09 19:04:39 +00:00
|
|
|
|
2005-03-31 07:47:25 +00:00
|
|
|
<refsect1 role="examples">
|
|
|
|
&reftitle.examples;
|
2005-03-30 04: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
|
|
|
?>
|
|
|
|
]]>
|
2005-03-30 04:07:29 +00:00
|
|
|
</programlisting>
|
2005-03-31 07:47:25 +00:00
|
|
|
&example.outputs.similar;
|
2005-03-30 04:07:29 +00:00
|
|
|
<screen>
|
2002-04-21 16:08:19 +00:00
|
|
|
<![CDATA[
|
|
|
|
MySQL client info: 3.23.39
|
|
|
|
]]>
|
2005-03-30 04:07:29 +00:00
|
|
|
</screen>
|
|
|
|
</example>
|
|
|
|
</para>
|
2005-03-31 07:47:25 +00:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="seealso">
|
|
|
|
&reftitle.seealso;
|
2005-03-30 04:07:29 +00:00
|
|
|
<para>
|
2005-03-31 07:47:25 +00:00
|
|
|
<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>
|
2005-03-30 04:07:29 +00:00
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
</refentry>
|
2002-04-15 00:12:54 +00:00
|
|
|
|
|
|
|
<!-- 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
|
2009-09-25 07:04:39 +00:00
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
2002-04-15 00:12:54 +00:00
|
|
|
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
|
|
|
|
-->
|