| Versionen | |
|---|---|
| drupal6 – drupal7 | db_affected_rows() |
Determine the number of rows changed by the preceding query.
includes/
<?php
function db_affected_rows() {
global $last_result;
return empty($last_result) ? 0 : pg_affected_rows($last_result);
}
?>
Kommentare
Kommentar hinzufügen