mysqli_get_client_version

(PHP 5, PHP 7) Returns the MySQL client version as an integer int mysqli_get_client_version ( mysqli $link ) Object oriented style int $mysqli->client_version; Procedural style Returns client version number as an integer. Returns: A number that represents the MySQL client library version in format: main_version*10000 + minor_version *100 + sub_version. For example, 4.1.0 is returned as 40100.

mysqli::get_connection_stats

(PHP 5 >= 5.3.0, PHP 7) Returns statistics about the client connection bool mysqli::get_connection_stats ( void ) Object oriented style Procedural style array mysqli_get_connection_stats ( mysqli $link ) Returns statistics about the client connection. Available only with mysqlnd. Parameters: link Procedural style only: A link identifier returned by mysqli_connect() or

mysqli::$field_count

(PHP 5, PHP 7) Returns the number of columns for the most recent query int mysqli_field_count ( mysqli $link ) Object oriented style int $mysqli->field_count; Procedural style Returns the number of columns for the most recent query on the connection represented by the link parameter. This function can be useful when using the mysqli_store_result() function to determine if the query should have produced a non-empty result

mysqli::$errno

(PHP 5, PHP 7) Returns the error code for the most recent function call int mysqli_errno ( mysqli $link ) Object oriented style int $mysqli->errno; Procedural style Returns the last error code for the most recent MySQLi function call that can succeed or fail. Client error message numbers are listed in the MySQL errmsg.h header file, server error message numbers are listed in mysqld_error.h. In the MySQL source distribu

mysqli::$error_list

(PHP 5 >= 5.4.0, PHP 7) Returns a list of errors from the last command executed array mysqli_error_list ( mysqli $link ) Object oriented style array $mysqli->error_list; Procedural style Returns a array of errors for the most recent MySQLi function call that can succeed or fail. Parameters: link Procedural style only: A link identifier returned by mysqli_connect() o

mysqli::$error

(PHP 5, PHP 7) Returns a string description of the last error string mysqli_error ( mysqli $link ) Object oriented style string $mysqli->error; Procedural style Returns the last error message for the most recent MySQLi function call that can succeed or fail. Parameters: link Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()

mysqli::__construct

(PHP 5, PHP 7) Open a new connection to the MySQL server mysqli mysqli_connect ([ string $host = ini_get("mysqli.default_host") [, string $username = ini_get("mysqli.default_user") [, string $passwd = ini_get("mysqli.default_pw") [, string $dbname = "" [, int $port = ini_get("mysqli.default_port") [, string $socket = ini_get("mysqli.default_socket") ]]]]]] ) Object oriented style mysqli::__construct ([ string $host = i

mysqli::$connect_errno

(PHP 5, PHP 7) Returns the error code from last connect call int mysqli_connect_errno ( void ) Object oriented style int $mysqli->connect_errno; Procedural style Returns the last error code number from the last call to mysqli_connect(). Note: Client error message numbers are listed in the MySQL errmsg.h header file, server error message numbers are listed in mysqld_error.h. In the MySQL source distribution you can fi

mysqli::debug

(PHP 5, PHP 7) Performs debugging operations bool mysqli::debug ( string $message ) Object oriented style Procedural style bool mysqli_debug ( string $message ) Performs debugging operations using the Fred Fish debugging library. Parameters: message A string representing the debugging operation to perform Returns: Returns TRUE.

mysqli::dump_debug_info

(PHP 5, PHP 7) Dump debugging information into the log bool mysqli::dump_debug_info ( void ) Object oriented style Procedural style bool mysqli_dump_debug_info ( mysqli $link ) This function is designed to be executed by an user with the SUPER privilege and is used to dump debugging information into the log for the MySQL Server relating to the connection. Parameters: link