26 lines
464 B
PHP
26 lines
464 B
PHP
|
<?php
|
||
|
include('includes/config/config.php');
|
||
|
error_reporting(E_ERROR | E_PARSE);
|
||
|
|
||
|
$device_id=$_REQUEST['device_map_id'];
|
||
|
$query_ambulance_move="";
|
||
|
if(!empty($device_id)){
|
||
|
$query_ambulance_move="delete from device_mapping_master where device_map_id=$device_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");
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
?>
|
||
|
|