YouTip LogoYouTip

Func Mysqli Get Host Info

# PHP mysqli_get_host_info() Function [![Image 3: PHP MySQLi Reference](#) PHP MySQLi Reference](#) ## Example Returns the MySQL server host name and connection type: * * * ## Definition and Usage The mysqli_get_host_info() function returns the MySQL server host name and connection type. * * * ## Syntax mysqli_get_host_info(_connection_)_;_ | Parameter | Description | | --- | --- | | _connection_ | Required. Specifies the MySQL connection to use. | ## Technical Details | Return Value: | Returns a string representing the MySQL server host name and connection type. | | :--- | | PHP Version: | 5+ | * * PHP MySQLi Reference](#)
← Func Mysqli Get Proto InfoFunc Mysqli Get Connection Sta β†’