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