mysqli_get_host_info mysqli->get_host_info Returns a string representing the type of connection used Description Procdural style: stringmysqli_get_host_info mysqlilink Object oriented style (property): mysqli stringhost_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). &reftitle.returnvalues; A character string representing the server hostname and the connection type. &reftitle.seealso; mysqli_get_proto_info. &reftitle.examples; Object oriented style host_info); /* close connection */ $mysqli->close(); ?> ]]> Procedural style ]]> &example.outputs;