|
PHP5中文手册
mysqli_get_server_infomysqli->server_info(No version information available, might be only in CVS) mysqli->server_info — Returns the version of the MySQL server 说明Procedural style:
string mysqli_get_server_info
( mysqli $link
)
Object oriented style (property): mysqli
string$server_info;
Returns a string representing the version of the MySQL server that the MySQLi extension is connected to. 返回值A character string representing the server version. 范例Example#1 Object oriented style
<?php Example#2 Procedural style
<?php 上例将输出:
|