$value ) { $requestStr.=$key . " : " . $value . "\n"; error_log ( $key . " : " . $value . "
\r\n" ); } error_log ( "End Printing Request Attributes" ); save_log($requestStr,'Injury Part','DELETE','delete_injury_part.php'); $query=""; if(!empty($_REQUEST['injury_id'])){ $query = " delete from injury_part where inj_id = '".$_REQUEST['injury_id']." ' "; if (!$result = @mysqli_query($conn,$query)) { exit(mysqli_error($conn)); echo json_encode("FAILURE"); }else{ echo json_encode("SUCCESS"); } } ?>