mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 01:24:17 +02:00
Driver specific INSERT INTO
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1484 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -31,7 +31,7 @@ if ($_POST && !$error && !isset($_GET["select"])) {
|
||||
}
|
||||
query_redirect("UPDATE" . limit1(idf_escape($TABLE) . " SET" . implode(",", $set) . "\nWHERE $where"), $location, lang('Item has been updated.'));
|
||||
} else {
|
||||
query_redirect("INSERT INTO " . idf_escape($TABLE) . " (" . implode(", ", array_keys($set)) . ")\nVALUES (" . implode(", ", $set) . ")", $location, lang('Item has been inserted.'));
|
||||
queries_redirect($location, lang('Item has been inserted.'), insert_into($TABLE, $set));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user