31 lines
456 B
PHP
Raw Normal View History

<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>