Func Mysqli Get Host Info
# PHP mysqli_get_host_info() Function
[ 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](#)
YouTip