PHP » GoLang |
login |
register |
about
|
GoLang mysqli::$error_list
request it (278)
GoLang replacement for PHP's mysqli::$error_list
[edit | history]
mysqli::$error_listmysqli_error_list(PHP 5 >= 5.4.0, PHP 7) mysqli::$error_list -- mysqli_error_list — Returns a list of errors from the last command executed DescriptionObject oriented style array $mysqli->error_list;
Procedural style 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
|
more
Recently updated
more
Most requested
more
Last requests
|