Fixed: Not selecting a datalabel used to issue a notice(undefined offset)
[phpmyadmin/ammaryasirr.git] / tbl_sql.php
blob70f2177354e3d7e8235ac7392ba42cba1b7889ee
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 $GLOBALS['js_include'][] = 'functions.js';
17 $GLOBALS['js_include'][] = 'makegrid.js';
18 $GLOBALS['js_include'][] = 'sql.js';
19 $GLOBALS['js_include'][] = 'codemirror/lib/codemirror.js';
20 $GLOBALS['js_include'][] = 'codemirror/mode/mysql/mysql.js';
22 require './libraries/tbl_common.php';
23 $url_query .= '&amp;goto=tbl_sql.php&amp;back=tbl_sql.php';
25 require_once './libraries/sql_query_form.lib.php';
27 $err_url = 'tbl_sql.php' . $err_url;
28 // After a syntax error, we return to this script
29 // with the typed query in the textarea.
30 $goto = 'tbl_sql.php';
31 $back = 'tbl_sql.php';
33 /**
34 * Get table information
36 require_once './libraries/tbl_info.inc.php';
38 /**
39 * Displays top menu links
41 require_once './libraries/tbl_links.inc.php';
43 /**
44 * Query box, bookmark, insert data from textfile
46 PMA_sqlQueryForm(true, false, isset($_REQUEST['delimiter']) ? htmlspecialchars($_REQUEST['delimiter']) : ';');
48 /**
49 * Displays the footer
51 require './libraries/footer.inc.php';