ohctech_p8/delete_refferal_point.php

26 lines
489 B
PHP
Raw Normal View History

2024-10-16 19:18:52 +05:30
<?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)) {
2024-11-02 18:03:13 +05:30
die(mysqli_error($conn));
2024-10-16 19:18:52 +05:30
echo json_encode("FAILURE");
}else{
echo json_encode("SUCCESS");
}
}
?>