mysql_db_query deprecated

This commit is contained in:
Marc Delisle
2001-05-27 20:19:35 +00:00
parent 8e942bdebe
commit 4fa533f3d4
13 changed files with 64 additions and 43 deletions

View File

@@ -88,8 +88,9 @@ if(isset($primary_key) && ($submit_type != $strInsertNewRow)) {
$query = "INSERT INTO $table ($fieldlist) VALUES ($valuelist)";
}
mysql_select_db($db);
$sql_query = $query;
$result = mysql_db_query($db, $query);
$result = mysql_query($query);
if(!$result) {
$error = mysql_error();