MMCT TEAM
1Server IP : 217.21.90.164  /  Your IP : 52.15.33.65
Web Server : LiteSpeed
System : Linux in-mum-web840.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64
User : u367232671 ( 367232671)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u367232671/domains/zeropaindentist.com/public_html/admin/inc/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u367232671/domains/zeropaindentist.com/public_html/admin/inc/../deleteBlogs.php
<?php
include './../dbh/conn.php';
$id = $_GET['id'];
$sql = "DELETE FROM `blogs` WHERE `blogs`.`id` = $id";
 $result = mysqli_query($conn, $sql);
    if ($result) {
        header('Location:./blogs.php?msg=Added Blog  &msg_class=success&msg_h=blog  Created');
    } else {
        header('Location:./blogs.php?msg=Sorry Cannot Added blog  &msg_class=danger&msg_h=Fail to create blog');
    }

MMCT - 2023