Choosing not to execute a drop statement leads now to the calling script

This commit is contained in:
Loïc Chapeaux
2001-08-19 13:44:25 +00:00
parent e3844359a7
commit ebafc33367
4 changed files with 21 additions and 5 deletions

View File

@@ -60,7 +60,8 @@ A:hover.nav {font-family: <?php echo $right_font_family; ?>; color: #FF0000}
<?php
if (isset($db)) {
echo '<h1> ' . $strDatabase . ' ' . htmlspecialchars($db);
if (isset($table) && !isset($btnDrop)) {
if (!empty($table)
&& (!isset($btnDrop) || $btnDrop == $strNo)) {
echo ' - ' . $strTable . ' ' . htmlspecialchars($table);
}
echo '</h1>' . "\n";