Manuál PHP | ||
---|---|---|
Předcházející | Další |
(PHP 5)
mysqli_get_host_info(no version information, might be only in CVS)
mysqli->host_info -- Returns a string representing the type of connection usedProcdural style:
string mysqli_get_host_info ( mysqli link )Object oriented style (property):
class mysqli {
The mysqli_get_host_info() function returns a string
describing the connection represented by the link
parameter is using (including the server host name).
link
Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()
Příklad 2. Procedural style
|
Výše uvedený příklad vypíše:
Host info: Localhost via UNIX socket |
Předcházející | Domů | Další |
mysqli_get_client_version | Nahoru | mysqli_get_metadata |