Translated using Weblate (Interlingua)
[phpmyadmin.git] / tbl_sql.php
blob0035840199eb6a0dfe36c399075a7754d13328ec
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 $response->addHTML(
43 PMA_getHtmlForSqlQueryForm(
44 true, false,
45 isset($_REQUEST['delimiter'])
46 ? htmlspecialchars($_REQUEST['delimiter'])
47 : ';'