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