File "cat-controller-20260115083201.php"

Full Path: /home/quiczmwg/lightspringdigitals.com/admin-20260114051102/cat-controller-20260115083201.php
File size: 537 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
include_once ("../_db.php");

@session_start();
// if (isset($_GET['delete'])){
    $delete_id = $_GET['delete'];
    $delete_query = mysqli_query($conn, "DELETE FROM dcategory WHERE id = $delete_id ") or die('query failed');
    if ($delete_query){
        header('location: manage-category.php');
        $message[] = 'product has been deleted';
        
    } else {
        header('location: manage-category.php');
        $message[] = 'product could not be deleted';
        // header('location: service-details.php');
    };