20.7.3.8. The MySQLi Extension Function Summary
Copyright 1997-2012 the PHP Documentation Group. [2230]
Table 20.40. Summary of
mysqli Class
OOP Interface
Properties
$mysqli::affected_rows
$mysqli::client_info
$mysqli::client_version
$mysqli::connect_errno
$mysqli::connect_error
$mysqli::errno
$mysqli::error
$mysqli::field_count
$mysqli::host_info
$mysqli::protocol_version
$mysqli::server_info
$mysqli::server_version
$mysqli::info
$mysqli::insert_id
$mysqli::sqlstate
MySQL Improved Extension (Mysqli)
methods
mysqli
Procedural Interface
mysqli_affected_rows
mysqli_get_client_info
mysqli_get_client_version
mysqli_connect_errno
mysqli_connect_error
mysqli_errno
mysqli_error
mysqli_field_count
mysqli_get_host_info
mysqli_get_proto_info
mysqli_get_server_info
mysqli_get_server_version
mysqli_info
mysqli_insert_id
mysqli_sqlstate
2340
Alias (Do not use)
N /A
N/A
N/A
N /A
N /A
N/A
N/A
N/A
N /A
N/A
N/A
N/A
N/A
N/A
N/A
Description
Gets the number
of affected rows in
a previous MySQL
operation
Returns the MySQL
client version as a string
Returns MySQL client
version info as an
integer
Returns the error code
from last connect call
Returns a string
description of the last
connect error
Returns the error code
for the most recent
function call
Returns a string
description of the last
error
Returns the number of
columns for the most
recent query
Returns a string
representing the type of
connection used
Returns the version of
the MySQL protocol
used
Returns the version of
the MySQL server
Returns the version of
the MySQL server as an
integer
Retrieves information
about the most recently
executed query
Returns the auto
generated id used in the
last query
Returns the SQLSTATE
error from previous
MySQL operation
Need help?
Do you have a question about the 5.0 and is the answer not in the manual?
Questions and answers