2 /* vim: set expandtab sw=4 ts=4 sts=4: */
11 require_once './libraries/common.inc.php';
16 $GLOBALS['js_include'][] = 'functions.js';
17 $GLOBALS['js_include'][] = 'makegrid.js';
18 $GLOBALS['js_include'][] = 'sql.js';
20 require './libraries/db_common.inc.php';
21 require_once './libraries/sql_query_form.lib.php';
23 // After a syntax error, we return to this script
24 // with the typed query in the textarea.
29 * Gets informations about the database and, if it is empty, move to the
30 * "db_structure.php" script where table can be created
32 require './libraries/db_info.inc.php';
33 if ($num_tables == 0 && empty($db_query_force)) {
36 require './db_structure.php';
41 * Query box, bookmark, insert data from textfile
43 PMA_sqlQueryForm(true, false, isset($_REQUEST['delimiter']) ?
htmlspecialchars($_REQUEST['delimiter']) : ';');
48 require './libraries/footer.inc.php';