Minggu, 03 Juli 2022

The MySQLi Extension Function Summary 1

The MySQLi Database Extension Function in PHP programming language Summary 1

mysqli Class Properties

OOP InterfaceProcedural InterfaceDescription
$mysqli::affected_rowsmysqli_affected_rows()Gets the number of affected rows in a previous MySQL operation
$mysqli::client_infomysqli_get_client_info()Returns the MySQL client version as a string
$mysqli::client_versionmysqli_get_client_version()Returns MySQL client version info as an integer
$mysqli::connect_errnomysqli_connect_errno()Returns the error code from last connect call
$mysqli::connect_errormysqli_connect_error()Returns a string description of the last connect error
$mysqli::errnomysqli_errno()Returns the error code for the most recent function call
$mysqli::errormysqli_error()Returns a string description of the last error
$mysqli::field_countmysqli_field_count()Returns the number of columns for the most recent query
$mysqli::host_infomysqli_get_host_info()Returns a string representing the type of connection used
$mysqli::protocol_versionmysqli_get_proto_info()Returns the version of the MySQL protocol used
$mysqli::server_infomysqli_get_server_info()Returns the version of the MySQL server
$mysqli::server_versionmysqli_get_server_version()Returns the version of the MySQL server as an integer
$mysqli::infomysqli_info()Retrieves information about the most recently executed query
$mysqli::insert_idmysqli_insert_id()Returns the auto generated id used in the last query
$mysqli::sqlstatemysqli_sqlstate()Returns the SQLSTATE error from previous MySQL operation
$mysqli::warning_countmysqli_warning_count()Returns the number of warnings from the last query for the given link

Bibliography:

https://www.php.net/

https://www.mysql.com/

Related Post:

Tidak ada komentar:

Posting Komentar

Various Other Posts