D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
realadss
/
.trash
/
admin
/
Filename :
product_delete.php
back
Copy
<?php include('include/header.php'); $id=$_GET['did']; $del = "DELETE FROM product WHERE id='$id'"; $query = mysqli_query($conn,$del); if($query){ echo "<script> alert('Product Deleted');window.location.href='products.php'</script>"; } else{ echo "<script> alert('Please try again')</script>"; } ?> <?php include('include/footer.php');?>