|
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
$link
)
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
<?php Procedural style
<?php The above examples will output: Host info: Localhost via UNIX socket See Also
|