mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 09:34:10 +02:00
Prefill SQL query
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@469 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -51,7 +51,7 @@ if (!$error && $_POST && is_string($query = (isset($_POST["query"]) ? $_POST["qu
|
||||
?>
|
||||
|
||||
<form action="" method="post">
|
||||
<p><textarea name="query" rows="20" cols="80" style="width: 98%;"><?php echo htmlspecialchars($_POST["query"]); ?></textarea></p>
|
||||
<p><textarea name="query" rows="20" cols="80" style="width: 98%;"><?php echo htmlspecialchars($_POST ? $_POST["query"] : $_GET["sql"]); ?></textarea></p>
|
||||
<p>
|
||||
<input type="hidden" name="token" value="<?php echo $token; ?>" />
|
||||
<input type="submit" value="<?php echo lang('Execute'); ?>" />
|
||||
|
Reference in New Issue
Block a user