PHP mysqli_error_list() Function
Example
Return the last error code from the most recently called function:
Definition and Usage
The mysqli_error_list() function returns a list of errors from the most recently called function.
Syntax
mysqli_error_list(
connection
)
;
| Parameters | Description |
|---|---|
| connection | Required. Specifies the MySQL connection to use. |
Technical Details
| Return Value: | Returns a list of errors. Each error is an associative array with errno (error code), error (error text) and sqlstate. |
|---|---|
| PHP Version: | 5.4+ |
PHP MySQLi Reference Manual