mysqli->get_host_info -- Returns a string representing the type of connection used
Syntax
Procdural style:
string mysqli_get_host_info ( mysqli link )
Object oriented style (property):
class mysqli { string host_info }
The mysqli_get_host_info() function returns a string
describing the connection represented by the link
parameter is using (including the server host name).
Return Values
A character string representing the server hostname and the connection type.
/* print host information */ printf("Host info: %s\n", mysqli_get_host_info($link));
/* close connection */ mysqli_close($link); ?>
The above example will output:
Host info: Localhost via UNIX socket
Php mysqli get host info Function syntax tag
mysqli get host info php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online
Php mysqli get host info syntax tutorial
php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.