public static function tearDownAfterClass() { // Erase database dropDatabase(); }
echo "<table width=100% height=100%><tr><td><center>\n"; echo "<h1>Wrong Password!</h1>\n"; echo "<a href='{$PHP_SELF}?action=logon'>Logon</a>\n"; echo "</center></td></tr></table>\n"; echo "</body>\n"; echo "</html>\n"; } else { header_html(); if ($action == "listDBs") { listDatabases(); } else { if ($action == "createDB") { createDatabase(); } else { if ($action == "dropDB") { dropDatabase(); } else { if ($action == "listTables") { listTables(); } else { if ($action == "createTable") { createTable(); } else { if ($action == "dropTable") { dropTable(); } else { if ($action == "viewSchema") { viewSchema(); } else { if ($action == "query") { viewData($queryStr);
protected function tearDown() { // Erase database dropDatabase(); }