ok

Mini Shell

Direktori : /home/keydecors/www/admin/controller/
Upload File :
Current File : /home/keydecors/www/admin/controller/delete_category.php

<?php
include("../model/dboperation.php");
$id=$_GET['dete'];

$sql	=	"DELETE FROM admin WHERE id=$id";
if (mysqli_query($mysqli, $sql)) {
    echo "Record deleted successfully";
} else {
    echo "Error deleting record: " . mysqli_error($mysqli);
}
$suc="Deleted Successfully";
ob_clean();
header("location:../pages/user_name_select.php");

?>

Zerion Mini Shell 1.0