Fix typos (bug #1597137).
[phpmyadmin/last10db.git] / db_sql.php
blob618b7eae3df6650d015ae8282dbcff1aa3d4f468
1 <?php
2 /* $Id$ */
3 // vim: expandtab sw=4 ts=4 sts=4:
5 require_once('./libraries/common.lib.php');
7 /**
8 * Runs common work
9 */
10 require('./libraries/db_common.inc.php');
11 require_once './libraries/sql_query_form.lib.php';
13 /**
14 * Gets informations about the database and, if it is empty, move to the
15 * "db_structure.php" script where table can be created
17 require('./libraries/db_info.inc.php');
18 if ( $num_tables == 0 && empty( $db_query_force ) ) {
19 $sub_part = '';
20 $is_info = TRUE;
21 require './db_structure.php';
22 exit();
25 /**
26 * Query box, bookmark, insert data from textfile
28 PMA_sqlQueryForm();
30 /**
31 * Displays the footer
33 require_once './libraries/footer.inc.php';