24 lines
413 B
PHP
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");
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
?>
|