D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
proc
/
thread-self
/
root
/
home
/
shubmkcj
/
designpitara.com
/
dash
/
Filename :
delete-blog.php
back
Copy
<?php include 'config.php'; $id = base64_decode($_GET['id']);; $sql ="DELETE FROM `blog` WHERE id='$id'"; if(mysqli_query($conn,$sql)){ echo '<script>alert("Blog Delete Successfully")</script>'; echo '<script>location.replace("view-blogs.php")</script>'; }else{ echo '<script>alert("Error !")</script>'; echo '<script>location.replace("view-blogs.php")</script>'; } ?>