back to the welcome page if (!empty($db)) { $is_db = @PMA_mysql_select_db($db); } if (empty($db) || !$is_db) { header('Location: ' . $cfg['PmaAbsoluteUri'] . 'main.php3?' . PMA_generate_common_url('', '', '&') . (isset($message) ? '&message=' . urlencode($message) : '') . '&reload=1'); exit(); } } // end if (ensures db exists) // Displays headers if (!isset($message)) { $js_to_run = 'functions.js'; include('./header.inc.php3'); // Reloads the navigation frame via JavaScript if required if (isset($reload) && $reload) { echo "\n"; ?>