PHP mysqli_get_server_info() Function
Example
Return the MySQL server version:
Definition and Usage
The mysqli_get_server_info() function returns the MySQL server version.
Syntax
mysqli_get_server_info(
connection
)
;
| Parameters | Description |
|---|---|
| connection | Required. Specifies the MySQL connection to use. |
Technical Details
| Return Value: | Returns a string representing the MySQL server version. |
|---|---|
| PHP Version: | 5+ |
PHP MySQLi Reference Manual