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('sql.js');
23 require 'libraries/tbl_common.inc.php';
24 $url_query .= '&goto=tbl_sql.php&back=tbl_sql.php';
26 require_once 'libraries/sql_query_form.lib.php';
28 $err_url = 'tbl_sql.php' . $err_url;
29 // After a syntax error, we return to this script
30 // with the typed query in the textarea.
31 $goto = 'tbl_sql.php';
32 $back = 'tbl_sql.php';
35 * Get table information
37 require_once 'libraries/tbl_info.inc.php';
40 * Query box, bookmark, insert data from textfile
43 PMA_getHtmlForSqlQueryForm(
45 isset($_REQUEST['delimiter'])
46 ?
htmlspecialchars($_REQUEST['delimiter'])