db_error
includes/database.pgsql.inc, line 217
- Versions
- 4.6 – 6
db_error()
Determine whether the previous query caused an error.
Related topics
Code
<?php
function db_error() {
global $active_db;
return pg_last_error($active_db);
}
?> includes/database.pgsql.inc, line 217
db_error()Determine whether the previous query caused an error.
<?php
function db_error() {
global $active_db;
return pg_last_error($active_db);
}
?>