|
mysqli::$error_listmysqli_error_listReturns a list of errors from the last command executed BeschreibungObjektorientierter Stil array$mysqli->error_list;
Prozeduraler Stil
array mysqli_error_list
( mysqli
$link
)Returns a array of errors for the most recent MySQLi function call that can succeed or fail. Parameter-Liste
RückgabewerteA list of errors, each as an associative array containing the errno, error, and sqlstate. BeispieleBeispiel #1 $mysqli->error_list example Objektorientierter Stil
<?phpProzeduraler Stil
<?phpDie obigen Bespiele erzeugen folgende Ausgabe:
Array
(
[0] => Array
(
[errno] => 1193
[sqlstate] => HY000
[error] => Unknown system variable 'a'
)
)
Siehe auch
|