Translated using Weblate (Romanian)
[phpmyadmin.git] / db_sql.php
blob987dbaff5f8f7e95dbecedd8c6a980b00ee57fa9
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Database 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('functions.js');
21 $scripts->addFile('makegrid.js');
22 $scripts->addFile('jquery/jquery.uitablefilter.js');
23 $scripts->addFile('sql.js');
25 require 'libraries/db_common.inc.php';
26 require_once 'libraries/sql_query_form.lib.php';
28 // After a syntax error, we return to this script
29 // with the typed query in the textarea.
30 $goto = 'db_sql.php';
31 $back = 'db_sql.php';
33 /**
34 * Query box, bookmark, insert data from textfile
36 $response->addHTML(
37 PMA_getHtmlForSqlQueryForm(
38 true, false,
39 isset($_REQUEST['delimiter'])
40 ? htmlspecialchars($_REQUEST['delimiter'])
41 : ';'