D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
realadss
/
kavyaeventz.in
/
backup
/
Filename :
delete-blog.php
back
Copy
<?php include('include/header.php'); $blog_id=$_GET['did']; $del = "DELETE FROM blog WHERE blog_id='$blog_id'"; $query = mysqli_query($conn,$del); if($query){ echo "<script> alert('Blog Deleted');window.location.href='blog.php'</script>"; } else{ echo "<script> alert('Please try again')</script>"; } ?> <?php include('include/footer.php');?>