$value ) { $requestStr.=$key . " : " . $value . "\n"; error_log ( $key . " : " . $value . "
\r\n" ); } error_log ( "End Printing Request Attributes" ); save_log($requestStr,'Firstaid register','DELETE','delete_firstaid_register.php'); $checklist_id=$_REQUEST['checklist_id']; $query_ambulance_move=""; if(!empty($checklist_id)){ $query_ambulance_move="delete from ambulance_checklist where checklist_id=$checklist_id"; error_log("DELETION QUERY:::".$query_ambulance_move); if (!$result_bio_medical_waste = mysqli_query($conn,$query_ambulance_move)) { exit(mysqli_error($conn)); echo json_encode("FAILURE"); }else{ echo json_encode("SUCCESS"); } } ?>