|
|
mysql_get_client_info() function in PHP
|
Tutorials » Php »
|
Topic |
What is mysql_get_client_info() function in PHP?
How does mysql_get_client_info() works?
|
|
Explanation | |
|
This mysql_get_client_info() function gets MySQL client information.
Syntax
string mysql_get_client_info ( void )
Returns the MySQL client version number on success, or FALSE on failure.
mysql_get_client_info() returns a string that represents the client library version.
Example
<?php
//print client library version
printf("MySQL client info: %s\n", mysql_get_client_info());
?>
|
RESULT:
MySQL client info: 3.23.39
See also:
|
|
|
|