PMA_DBI_insert_id

This commit is contained in:
Marc Delisle
2004-01-20 20:52:28 +00:00
parent 5398bb666e
commit a69eb2ebbc
6 changed files with 21 additions and 5 deletions

View File

@@ -92,7 +92,7 @@ global $cfgRelation;
. ' (\'' . implode('\', \'', $value_parts) . '\', \'' . implode('\', \'', $new_value_parts) . '\')';
$new_table_rs = PMA_query_as_cu($new_table_query);
$last_id = (@function_exists('mysql_insert_id') ? @mysql_insert_id() : -1);
$last_id = (@function_exists('mysql_insert_id') ? @PMA_DBI_insert_id() : -1);
} // end while
return $last_id;