problem showing UNHEX function by default when editing a BLOB was not fixed correctly...
[phpmyadmin-themes.git] / db_sql.php
blob2ac198bda5dde2afdfcaca51d782c894ea609c19
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
5 * @version $Id$
6 * @package phpMyAdmin
7 */
9 /**
12 require_once './libraries/common.inc.php';
14 /**
15 * Runs common work
17 require './libraries/db_common.inc.php';
18 require_once './libraries/sql_query_form.lib.php';
20 // After a syntax error, we return to this script
21 // with the typed query in the textarea.
22 $goto = 'db_sql.php';
23 $back = 'db_sql.php';
25 /**
26 * Gets informations about the database and, if it is empty, move to the
27 * "db_structure.php" script where table can be created
29 require './libraries/db_info.inc.php';
30 if ($num_tables == 0 && empty($db_query_force)) {
31 $sub_part = '';
32 $is_info = TRUE;
33 require './db_structure.php';
34 exit();
37 /**
38 * Query box, bookmark, insert data from textfile
40 PMA_sqlQueryForm(true, false, isset($_REQUEST['delimiter']) ? $_REQUEST['delimiter'] : ';');
42 /**
43 * Displays the footer
45 require_once './libraries/footer.inc.php';