maxdb_get_host_info
maxdb->get_host_info
Returns a string representing the type of connection used
Description
Procdural style:
stringmaxdb_get_host_info
resourcelink
Object oriented style (property):
maxdb
stringhost_info
The maxdb_get_host_info function returns a string
describing the connection represented by the link
parameter is using.
&reftitle.returnvalues;
A character string representing the server hostname and the connection type.
See also
maxdb_get_proto_info
Example
Object oriented style
host_info);
/* close connection */
$maxdb->close();
?>
]]>
Procedural style
]]>
The above examples would produce the following output: