PHP mysqli get_client_info() Function
Example
Return the MySQL client library version:
<?php
echo mysqli_get_client_info();
?>
Definition and Usage
The get_client_info() / mysqli_get_client_info() function returns the MySQL client library version.
Syntax
Object oriented style:
$mysqli -> get_client_info()
Procedural style:
mysqli_get_client_info(connection)
Parameter Values
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