2 /* vim: set expandtab sw=4 ts=4 sts=4: */
12 require_once 'libraries/common.inc.php';
17 $response = PMA_Response
::getInstance();
18 $header = $response->getHeader();
19 $scripts = $header->getScripts();
20 $scripts->addFile('makegrid.js');
21 $scripts->addFile('jquery/jquery.uitablefilter.js');
22 $scripts->addFile('sql.js');
24 require 'libraries/tbl_common.inc.php';
25 $url_query .= '&goto=tbl_sql.php&back=tbl_sql.php';
27 require_once 'libraries/sql_query_form.lib.php';
29 $err_url = 'tbl_sql.php' . $err_url;
30 // After a syntax error, we return to this script
31 // with the typed query in the textarea.
32 $goto = 'tbl_sql.php';
33 $back = 'tbl_sql.php';
36 * Get table information
38 require_once 'libraries/tbl_info.inc.php';
41 * Query box, bookmark, insert data from textfile
44 PMA_getHtmlForSqlQueryForm(
46 isset($_REQUEST['delimiter'])
47 ?
htmlspecialchars($_REQUEST['delimiter'])