PHP mysqli_error_list() Function

PHP mysqli_error_list() function is used to get list or array of errors for the most recent MySQLi function call.

Syntax

mysqli_error_list() Function Parameter

ParameterDescription
connection :Required parameter. The MySQL connection to be used

mysqli_error_list() Function Return Value

Return Values :An error code value for the last call, if it failed. zero means no error occurred.

mysqli_error_list() Function Example