|
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
$link
)
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 main_version * 10000 + minor_version * 100 + sub_version (i.e. version 4.1.0 is 40100). ExamplesExample #1 $mysqli->server_version example Object oriented style
<?php Procedural style
<?php The above examples will output: Server version: 40102 See Also
|