ok
Direktori : /home/keydecors/www/admin/controller/ |
Current File : /home/keydecors/www/admin/controller/delete_video.php |
<?php include("../model/dboperation.php"); $id=$_GET['dete']; $sql = "DELETE FROM gallery_video 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:../pages/video_select.php"); ?>