Direktori : /home/athamevents/public_html/admin/ |
Current File : /home/athamevents/public_html/admin/cat_delete.php |
<?php include 'connection.php'; ?> <?php $id=$_REQUEST["pp1"]; ?> <?php $delete=mysql_query("DELETE FROM cat WHERE id='$id'"); if($delete) { ?> <script> alert("Delete Category"); window.location.href="add_cat.php"; </script> <?php } else { ?> <script> alert("Procee not complete"); window.location.href="add_cat.php"; </script> <?php } ?>