PHP 忒聊
綴豖
ヶ輛
mysql_get_server_info
(PHP 4 = 4.0.5)
Description
mysql_get_server_info() returns the server version used by connection link_identifier. If link_identifier is omitted, the last opened connection will be used.
瞰赽 1. mysql_get_server_info Example
?php mysql_connect("localhost", "mysql_user", "mysql_password") or die("Could not connect: ". mysql_error()); printf ("MySQL server version: %s\n", mysql_get_server_info());?
The above example would produce the following output:
MySQL server version: 4.0.1-alpha
See also: mysql_get_client_info(), mysql_get_host_info() and mysql_get_proto_info().
綴豖
れ萸
ヶ輛
mysql_get_proto_info
奻珨撰
mysql_info