|
mysqli::$server_versionmysqli_get_server_versionReturns the version of the MySQL server as an integer DescriptionObject-oriented style int$mysqli->server_version;
Procedural style
int mysqli_get_server_version(mysqli
$mysql )
The mysqli_get_server_version function returns the
version of the server connected to (represented by the
Parameters
Return ValuesAn integer representing the server version.
The form of this version number is
ExamplesExample #1 $mysqli->server_version example Object-oriented style
Procedural style
The above examples will output something similar to: Server version: 80021 See Also
|