Enforce reloading of the left frame if a table has to be created

This commit is contained in:
Loïc Chapeaux
2001-05-05 20:39:01 +00:00
parent d91a01be7d
commit 09a9dd4796

View File

@@ -21,6 +21,10 @@ if (count($pieces) == 1 && !empty($pieces[0])) {
} else { } else {
$sql_query = trim($pieces[0]); $sql_query = trim($pieces[0]);
} }
// Enforce reloading of the left frame when a table has to be created
if (eregi('^CREATE TABLE (.+)', $sql_query)) {
$reload = "true";
}
include ("sql.php3"); include ("sql.php3");
exit; exit;
} }