2001-07-09 13:45:10 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title></title>
|
|
|
|
<LINK rel="stylesheet" type="text/css" href="stile.css">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
|
|
|
include("required.php");
|
|
|
|
|
|
|
|
$db = mysql_connect($ip, $user, $password);
|
|
|
|
mysql_select_db($dataname,$db);
|
|
|
|
|
|
|
|
|
|
|
|
if (isset($tbl) && isset($id))
|
|
|
|
{
|
|
|
|
$query = "DROP ".$tbl." WHERE id = ".$id;
|
|
|
|
echo $query;
|
|
|
|
//$canc = mysql_query($query,$db);
|
|
|
|
if (!$canc)
|
|
|
|
echo "<br><br><p class=error>Cancellazione non effettuata!</p><br><br>";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|