Easy Tutorial
❮ Func Filesystem Glob Php Ref Xml ❯

PHP mysqli_get_host_info() Function

PHP MySQLi Reference Manual

Example

Returns the MySQL server hostname and connection type:


Definition and Usage

The mysqli_get_host_info() function returns the MySQL server hostname and connection type.


Syntax

Parameter Description
connection Required. Specifies the MySQL connection to use.

Technical Details

Return Value: Returns a string representing the MySQL server hostname and connection type.
PHP Version: 5+
--- ---

❮ Func Filesystem Glob Php Ref Xml ❯