Translated using Weblate (Slovenian)
[phpmyadmin.git] / tbl_sql.php
blobbe0cb0a93a424377b5043a5b1222b95f06aa655f
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('jquery/jquery.uitablefilter.js');
22 $scripts->addFile('sql.js');
24 require 'libraries/tbl_common.inc.php';
25 $url_query .= '&amp;goto=tbl_sql.php&amp;back=tbl_sql.php';
27 require_once 'libraries/sql_query_form.lib.php';
29 $err_url = 'tbl_sql.php' . $err_url;
30 // After a syntax error, we return to this script
31 // with the typed query in the textarea.
32 $goto = 'tbl_sql.php';
33 $back = 'tbl_sql.php';
35 /**
36 * Get table information
38 require_once 'libraries/tbl_info.inc.php';
40 /**
41 * Query box, bookmark, insert data from textfile
43 $response->addHTML(
44 PMA_getHtmlForSqlQueryForm(
45 true, false,
46 isset($_REQUEST['delimiter'])
47 ? htmlspecialchars($_REQUEST['delimiter'])
48 : ';'