The MySQLi Database Extension Function in PHP programming language Summary 1
mysqli Class Properties
OOP Interface | Procedural Interface | Description |
---|---|---|
$mysqli::affected_rows | mysqli_affected_rows() | Gets the number of affected rows in a previous MySQL operation |
$mysqli::client_info | mysqli_get_client_info() | Returns the MySQL client version as a string |
$mysqli::client_version | mysqli_get_client_version() | Returns MySQL client version info as an integer |
$mysqli::connect_errno | mysqli_connect_errno() | Returns the error code from last connect call |
$mysqli::connect_error | mysqli_connect_error() | Returns a string description of the last connect error |
$mysqli::errno | mysqli_errno() | Returns the error code for the most recent function call |
$mysqli::error | mysqli_error() | Returns a string description of the last error |
$mysqli::field_count | mysqli_field_count() | Returns the number of columns for the most recent query |
$mysqli::host_info | mysqli_get_host_info() | Returns a string representing the type of connection used |
$mysqli::protocol_version | mysqli_get_proto_info() | Returns the version of the MySQL protocol used |
$mysqli::server_info | mysqli_get_server_info() | Returns the version of the MySQL server |
$mysqli::server_version | mysqli_get_server_version() | Returns the version of the MySQL server as an integer |
$mysqli::info | mysqli_info() | Retrieves information about the most recently executed query |
$mysqli::insert_id | mysqli_insert_id() | Returns the auto generated id used in the last query |
$mysqli::sqlstate | mysqli_sqlstate() | Returns the SQLSTATE error from previous MySQL operation |
$mysqli::warning_count | mysqli_warning_count() | Returns the number of warnings from the last query for the given link |
Bibliography:
https://www.php.net/
https://www.mysql.com/
Tidak ada komentar:
Posting Komentar