PMA_DBI_affected_rows

This commit is contained in:
Marc Delisle
2004-01-20 21:03:31 +00:00
parent a69eb2ebbc
commit a7bd761f3f
6 changed files with 19 additions and 7 deletions

View File

@@ -213,4 +213,15 @@ function PMA_DBI_insert_id($link) {
return mysql_insert_id($link);
}
function PMA_DBI_affected_rows($link) {
if (empty($link)) {
if (isset($GLOBALS['userlink'])) {
$link = $GLOBALS['userlink'];
} else {
return FALSE;
}
}
return mysql_affected_rows($link);
}
?>