ohctech_p8/delete_oxygen_cylinder_issue.php
Dushant Mali 899fb3e65a Upgrade 7 to 8
Upgrade 7 to 8
2024-11-02 18:03:13 +05:30

25 lines
426 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_issue where issue_id=$id" ;
if (!$result_bio_medical_waste = mysqli_query($conn,$query_ambulance_move)) {
die(mysqli_error($conn));
echo json_encode("FAILURE");
}else{
echo json_encode("SUCCESS");
}
}
?>