27 lines
573 B
PHP
27 lines
573 B
PHP
|
|
<?php
|
|
include('includes/config/config.php');
|
|
include ('log_entry.php');
|
|
error_reporting(E_ERROR | E_PARSE);
|
|
|
|
$id=$_REQUEST['calibration_id'];
|
|
$query_calibration_delete="";
|
|
if(!empty($id)){
|
|
$query_calibration_delete="delete from calibration_item_tbl where calibration_id=$id" ;
|
|
error_log("delete".$query_calibration_delete);
|
|
if (!$result_bio_medical_waste = mysqli_query($conn,$query_calibration_delete)) {
|
|
|
|
exit(mysqli_error($conn));
|
|
echo json_encode("FAILURE");
|
|
}else{
|
|
echo json_encode("SUCCESS");
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
?>
|