rename variable
[phpmyadmin.git] / db_sql.php
blobe2a0069cffc3c5aff51ad72d1f401cab2bf979d3
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
5 * @package PhpMyAdmin
6 */
8 /**
11 require_once 'libraries/common.inc.php';
13 /**
14 * Runs common work
16 $response = PMA_Response::getInstance();
17 $header = $response->getHeader();
18 $scripts = $header->getScripts();
19 $scripts->addFile('functions.js');
20 $scripts->addFile('makegrid.js');
21 $scripts->addFile('sql.js');
23 require 'libraries/db_common.inc.php';
24 require_once 'libraries/sql_query_form.lib.php';
26 // After a syntax error, we return to this script
27 // with the typed query in the textarea.
28 $goto = 'db_sql.php';
29 $back = 'db_sql.php';
31 /**
32 * Query box, bookmark, insert data from textfile
34 PMA_sqlQueryForm(
35 true, false,
36 isset($_REQUEST['delimiter']) ? htmlspecialchars($_REQUEST['delimiter']) : ';'