<?
/*************************************************************
* The MyDB librairy and applications are product of SQLFusion
* It may be used and/or distributed under the terms of the Q Public
* License (QPL) version 1.0, enclosed in the file licence.txt.
****************************************************************/
/** MyDB IDE Version 0.4 **/
/** Author Philippe Lewicki **/
require("mydbconfig.inc.php");
$menu= "table";
if ($deltableyes) {
$query = "drop table $deltablename " ;
$conx->sql_query = $query ;
$conx->query();
$goto = "formbuilder.php";
header("Location: $goto");
} elseif ($deltableno) {
$goto = stripslashes($goto);
header("Location: $goto");
}
include("hd_inc.php");
?>
<FORM method="get" action="deltable.php">
<INPUT name="goto" type="hidden" value="<? echo $HTTP_REFERER; ?>">
<? echo $strConfirmeDeleteTable; ?> : <? echo $deltablename; ?>
<INPUT name="deltablename" type="hidden" value ="<? echo $deltablename; ?>">
<INPUT type="submit" name="deltableyes" value="<? echo $strDeleteTableYes; ?>">
<INPUT type="submit" name="deltableno" value="<? echo $strDeleteTableNo; ?>">
</FORM>
<?
include("ft_inc.php");
?>