w3resource logo


PHP mysql_get_client_info function

PHP : mysql_get_client_info() function

<<PreviousNext>>

Description

The mysql_get_client_info() used to get MySQL client information.

Version

(PHP 4 and above)

Syntax

mysql_get_client_info()

Return value

The MySQL client version.

Value Type : String.

Example :

<?php
echo "MySQL client info : ".mysql_get_client_info();
?>

Output :

MySQL client info : 5.0.51a

Note

Depending upon the MySQL Version installed on your machine, the output may vary.

See also

PHP Function Reference

mysql_get_host_info()

mysql_get_proto_info()

mysql_get_server_info()

<<PreviousNext>>