Translated using Weblate (Greek)
[phpmyadmin.git] / tbl_sql.php
blob0d1006feb29933f23a2f2fea78836cca2fb07486
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Table SQL executor
6 * @package PhpMyAdmin
7 */
9 /**
12 require_once 'libraries/common.inc.php';
14 /**
15 * Runs common work
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 .= '&amp;goto=tbl_sql.php&amp;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';
34 /**
35 * Get table information
37 require_once 'libraries/tbl_info.inc.php';
39 /**
40 * Query box, bookmark, insert data from textfile
42 PMA_sqlQueryForm(
43 true, false,
44 isset($_REQUEST['delimiter']) ? htmlspecialchars($_REQUEST['delimiter']) : ';'