ESH/delete_oxygen_cylinder_issue.php

25 lines
427 B
PHP
Raw Normal View History

2024-10-23 18:28:06 +05:30
<?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)) {
exit(mysqli_error($conn));
echo json_encode("FAILURE");
}else{
echo json_encode("SUCCESS");
}
}
?>