acknowledgments update
[openemr.git] / phpmyadmin / tbl_sql.php
blobb06be2760ccd4431cf59c08aaad773796d9a13e9
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 $response = PMA_Response::getInstance();
17 $header = $response->getHeader();
18 $scripts = $header->getScripts();
19 $scripts->addFile('makegrid.js');
20 $scripts->addFile('sql.js');
22 require 'libraries/tbl_common.inc.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 * Query box, bookmark, insert data from textfile
41 PMA_sqlQueryForm(
42 true, false,
43 isset($_REQUEST['delimiter']) ? htmlspecialchars($_REQUEST['delimiter']) : ';'