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

25 lines
438 B
PHP

<?php
include('includes/config/config.php');
error_reporting(E_ERROR | E_PARSE);
$id=$_REQUEST['id'];
$query_ambulance_move="";
if(!empty($id)){
$query_ambulance_move="delete from oxygen_cylinder_details where oxygen_cylinder_id=$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");
}
}
?>