mirror of
https://github.com/vrana/adminer.git
synced 2026-07-07 15:52:10 +02:00
Rename real_escape_string() to escape_string()
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@125 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -36,7 +36,7 @@ function dump($db) {
|
||||
$result1 = $mysql->query("SELECT * FROM " . idf_escape($row["Name"])); //! enum and set as numbers
|
||||
if ($result1) {
|
||||
while ($row1 = $result1->fetch_row()) {
|
||||
echo "INSERT INTO " . idf_escape($row["Name"]) . " VALUES ('" . implode("', '", array_map(array($mysql, 'real_escape_string'), $row1)) . "');\n";
|
||||
echo "INSERT INTO " . idf_escape($row["Name"]) . " VALUES ('" . implode("', '", array_map(array($mysql, 'escape_string'), $row1)) . "');\n";
|
||||
}
|
||||
$result1->free();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user