mirror of
https://github.com/vrana/adminer.git
synced 2026-03-06 12:31:45 +01:00
remove_from_uri()
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@277 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -9,7 +9,7 @@ if ($_POST && !$error) {
|
||||
if ($mysql->query("CREATE DATABASE " . idf_escape($_POST["name"]) . ($_POST["collation"] ? " COLLATE '" . $mysql->escape_string($_POST["collation"]) . "'" : ""))) {
|
||||
unset($_SESSION["databases"][$_GET["server"]]);
|
||||
if (!strlen($_GET["db"])) {
|
||||
redirect(preg_replace('~db=[^&]*&~', '', $SELF) . "db=" . urlencode($_POST["name"]), lang('Database has been created.'));
|
||||
redirect($SELF . "db=" . urlencode($_POST["name"]), lang('Database has been created.'));
|
||||
}
|
||||
$result = $mysql->query("SHOW TABLES");
|
||||
while ($row = $result->fetch_row()) {
|
||||
|
||||
Reference in New Issue
Block a user