<?php
include('connect.php');
?>
<?php
$id=$_GET["id"];
$del=mysqli_query($conn,"DELETE FROM menucategory WHERE id = '$id'");
echo "<script> alert('Deleted Successfully')</script>";
header("Location: menucategory.php");
?>