|
mysqli::$error_listmysqli_error_listReturns a list of errors from the last command executed DescriptionObject oriented style array$mysqli->error_list;
Procedural style
array mysqli_error_list
( mysqli
$link
)Returns a array of errors for the most recent MySQLi function call that can succeed or fail. Parameters
Return ValuesA list of errors, each as an associative array containing the errno, error, and sqlstate. ExamplesExample #1 $mysqli->error_list example Object oriented style
<?php Procedural style
<?php The above examples will output: Array ( [0] => Array ( [errno] => 1193 [sqlstate] => HY000 [error] => Unknown system variable 'a' ) ) See Also
|