(PHP 4 >= 4.0.5)
mysql_get_client_info() returns a string that represents the client library version.
Example 1. mysql_get_client_info() example
<?phpprintf("MySQL client info: %s\n", mysql_get_client_info());?>
The above example would produce the following output:
MySQL client info: 3.23.39
See also mysql_get_host_info(), mysql_get_proto_info() and mysql_get_server_info().