|
PHP5中文手册
mysqli_statmysqli->stat()(PHP 5) mysqli->stat() — Gets the current system status 说明Procedural style:
string mysqli_stat
( mysqli $link
)
Object oriented style (method): mysqli
mysqli_stat() returns a string containing information similar to that provided by the 'mysqladmin status' command. This includes uptime in seconds and the number of running threads, questions, reloads, and open tables. 返回值A string describing the server status. FALSE if an error occurred. 范例Example#1 Object oriented style
<?php Example#2 Procedural style
<?php 上例将输出:
|