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