$value ) { $requestStr.=$key . " : " . $value . "\n"; error_log ( $key . " : " . $value . "
\r\n" ); } error_log ( "End Printing Request Attributes" ); save_log($requestStr,'indication','DELETE','delete_indication_list.php'); // error_reporting(E_ERROR | E_PARSE); $id=$_REQUEST['id']; error_log($id); $query=""; if(!empty($id)){ $query="delete from indication where indication_id=$id "; error_log($query); if (!$result = @mysqli_query($conn,$query)) { exit(error_log(mysqli_error($conn))); echo json_encode("FAILURE"); }else{ echo json_encode("SUCCESS"); } } ?>