2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Database SQL executor
8 use PhpMyAdmin\Config\PageSettings
;
9 use PhpMyAdmin\Response
;
10 use PhpMyAdmin\SqlQueryForm
;
15 require_once 'libraries/common.inc.php';
17 PageSettings
::showGroup('Sql');
22 $response = Response
::getInstance();
23 $header = $response->getHeader();
24 $scripts = $header->getScripts();
25 $scripts->addFile('makegrid.js');
26 $scripts->addFile('vendor/jquery/jquery.uitablefilter.js');
27 $scripts->addFile('sql.js');
29 require 'libraries/db_common.inc.php';
31 // After a syntax error, we return to this script
32 // with the typed query in the textarea.
37 * Query box, bookmark, insert data from textfile
40 SqlQueryForm
::getHtml(
42 isset($_POST['delimiter'])
43 ?
htmlspecialchars($_POST['delimiter'])