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