You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-01-12 22:51:27 +03:00
- fix SQL syntax (';' was missing)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@43 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
@@ -79,7 +79,7 @@ if ($_SERVER['REQUEST_METHOD'] == "GET")
|
||||
{
|
||||
while ($row = db_array ($result['result']))
|
||||
{
|
||||
fwrite ($fh, "$row[1]\n\n");
|
||||
fwrite ($fh, "$row[1];\n\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -97,7 +97,7 @@ if ($_SERVER['REQUEST_METHOD'] == "GET")
|
||||
$values[] = $val;
|
||||
}
|
||||
|
||||
fwrite ($fh, "INSERT INTO ". $tables[$i] . " (". implode (',',$fields) . ") VALUES ('" . implode ('\',\'',$values) . "')\n");
|
||||
fwrite ($fh, "INSERT INTO ". $tables[$i] . " (". implode (',',$fields) . ") VALUES ('" . implode ('\',\'',$values) . "');\n");
|
||||
$fields = "";
|
||||
$values = "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user