25 lines
427 B
PHP
25 lines
427 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)) {
|
||
|
|
||
|
exit(mysqli_error($conn));
|
||
|
echo json_encode("FAILURE");
|
||
|
}else{
|
||
|
echo json_encode("SUCCESS");
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
?>
|