db_error()
drupal/includes/database.mysqli.inc, line 184
Determine whether the previous query caused an error.
| Name | Description |
|---|---|
| Database abstraction layer | Allow the use of different database servers using the same code base. |
function db_error() {
global $active_db;
return mysqli_errno($active_db);
}