mysqli_stat
mysqli->stat
Gets the current system status
Description
Procedural style:
mixedmysqli_stat
objectlink
Object oriented style (method):
mysqli
mixedmysqli->stat
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.
Return values
A string describing the server status. &false; if an error occurred.
See also
mysqli_get_server_info
Example
Object oriented style
stat());
$mysqli->close();
?>
]]>
Procedural style
]]>
The above examples would produce the following output: