PHP » GoLang |
login |
register |
about
|
GoLang mysqli_stmt::$error_list
request it (373)
GoLang replacement for PHP's mysqli_stmt::$error_list
[edit | history]
mysqli_stmt::$error_listmysqli_stmt_error_list(PHP 5 >= 5.4.0, PHP 7) mysqli_stmt::$error_list -- mysqli_stmt_error_list — Returns a list of errors from the last statement executed DescriptionObject oriented style array $mysqli_stmt->error_list;
Procedural style Returns an array of errors for the most recently invoked statement function that can succeed or fail. Return ValuesA list of errors, each as an associative array containing the errno, error, and sqlstate. ExamplesExample #1 Object oriented style
<?php Example #2 Procedural style
<?php The above examples will output: Array ( [0] => Array ( [errno] => 1146 [sqlstate] => 42S02 [error] => Table 'world.myCountry' doesn't exist ) ) See Also
|
more
Recently updated
more
Most requested
more
Last requests
|