mysqli_get_server_info
(PHP 5)
mysqli_get_server_info(no version information, might be only in CVS)
mysqli->server_info -- Returns the version of the MySQL serverOpis
Procedural style:
string mysqli_get_server_info ( mysqli link )Object oriented style (property):
class mysqli {string server_info
}
Returns a string representing the version of the MySQL server that the MySQLi extension is connected to.
Parametry
link
Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()
Przykłady
Przykład 2. Procedural style
|
Powyższy przykład wyświetli:
Server version: 4.1.2-alpha-debug |
Poprzedni | Spis treści | Następny |
mysqli_get_proto_info | Początek rozdziału |