ok
Direktori : /proc/self/root/home/keydecors/public_html/ca/admin/app/controller/ |
Current File : //proc/self/root/home/keydecors/public_html/ca/admin/app/controller/delete_gallery.php |
<?php include("../model/dboperation.php"); $id=$_GET['dete']; $sql = "DELETE FROM gallery WHERE ids=$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:../select_gallery.php"); ?>