ESH/delete_notice_details.php
2024-10-23 18:28:06 +05:30

24 lines
413 B
PHP

<?php
include('includes/config/config.php');
error_reporting(E_ERROR | E_PARSE);
$notice_id=$_REQUEST['notice_id'];
$query_ambulance_move="";
if(!empty($notice_id)){
$query_notice="delete from notice where notice_id=$notice_id" ;
if (!$result_notice = mysqli_query($conn,$query_notice)) {
exit(mysqli_error($conn));
echo json_encode("FAILURE");
}else{
echo json_encode("SUCCESS");
}
}
?>