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

26 lines
490 B
PHP

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