3 // vim: expandtab sw=4 ts=4 sts=4:
7 * Gets some core libraries
9 require_once('./libraries/grab_globals.lib.php');
10 require_once('./libraries/common.lib.php');
11 require_once('./libraries/bookmark.lib.php');
14 PMA_checkParameters(array('db','table'));
17 * Defines the urls to return to in case of error in a sql statement
19 $err_url_0 = $cfg['DefaultTabDatabase'] . '?' . PMA_generate_common_url($db);
20 $err_url = $cfg['DefaultTabTable'] . '?' . PMA_generate_common_url($db, $table);
24 * Ensures the database and the table exist (else move to the "parent" script)
26 require_once('./libraries/db_table_exists.lib.php');
32 $js_to_run = 'functions.js';
33 require_once('./header.inc.php');
37 * Set parameters for links
39 $url_query = PMA_generate_common_url($db, $table);