|
mysqli::$server_infomysqli::get_server_infomysqli_get_server_infoReturns the version of the MySQL server DescriptionObject-oriented style string$mysqli->server_info;
public string mysqli::get_server_info()
Procedural style string mysqli_get_server_info(mysqli
$mysql )Returns a string representing the version of the MySQL server that the MySQLi extension is connected to. Parameters
Return ValuesA character string representing the server version. ExamplesExample #1 $mysqli->server_info example Object-oriented style
Procedural style
The above examples will output something similar to: Server version: 8.0.21 See Also
|