- <?php
- include("inc/conn.php");
- if($_GET["act"]=="yes")
- {
- $tb=$_POST["tb"];
- $ok=mysql_query("drop table $tb ");
- if($ok)
- { echo "table ".$tb."Delete OK!";
- }else
- {
- echo "table ".$tb."Delete loser!";
- }
- echo "<a href='drop.php'>back</a>";
- }
- ?>
- <form name="form1" method="post" action="?act=yes">
- <div align="center">DEL Tables