|
mysqli::$host_infomysqli_get_host_infoReturns a string representing the type of connection used DescriptionObject-oriented style string$mysqli->host_info;
Procedural style
string mysqli_get_host_info(mysqli
$mysql )
Returns a string describing the connection represented by
the Parameters
Return ValuesA character string representing the server hostname and the connection type. ExamplesExample #1 $mysqli->host_info example Object-oriented style
Procedural style
The above examples will output: Host info: Localhost via UNIX socket See Also
|