Example
Return the MySQL client library version:
<?php
echo mysqli_get_client_info();
?>
Definition and Usage
The mysqli_get_client_info() function returns the MySQL client library version.
Syntax
mysqli_get_client_info(connection);
Parameter | Description |
---|---|
connection | Optional. Specifies the MySQL connection to use |
Technical Details
Return Value: | Returns a string that represents the MySQL client library version |
---|---|
PHP Version: | 5+ |
< PHP MySQLi Reference