PHP mysqli_get_client_stats() Function

Definition

The mysqli_get_client_stats() function returns statistics about client per-process.

Syntax

PHP mysqli_get_client_stats() Function has the following syntax.

mysqli_get_client_stats();

Return

Return stats about client per-process.

Example

Get statistics about client per-process


<?php/*w ww. j  av a  2  s .com*/
$con=mysqli_connect("localhost","my_user","my_password","my_db");
if (mysqli_connect_errno($con)){
  echo "Failed to connect to MySQL: " . mysqli_connect_error();
}

print_r(mysqli_get_client_stats());

mysqli_close($con);
?>




















Home »
  PHP Tutorial »
    Function reference »




PHP Array Functions
PHP Calendar Functions
PHP Class Functions
PHP Data Type Functions
PHP Date Functions
PHP File Functions
PHP Image Functions
PHP Math Functions
PHP MySQLi Functions
PHP SimpleXML Functions
PHP String Functions
PHP XML Functions
PHP Zip Functions