add db_affected_rows

master
Andrew Dolgov 18 years ago
parent 12fb24b921
commit fea67e6a39

@ -123,4 +123,10 @@ function db_close($link) {
}
}
function db_affected_rows($link, $result) {
if (DB_TYPE == "pgsql") {
return pg_affected_rows($result);
} else if (DB_TYPE == "mysql") {
return mysql_affected_rows($link);
}
?>

Loading…
Cancel
Save