I'm trying to echo a string and the string contains "\n" and "\r" in it, but when it executes it still shows the "\n" and "\r".
Here is what I'm doing.
$url = 'http://whoiz.herokuapp.com/lookup.json?url=madithouse.com';
$response = file_get_contents($url);
echo $response;
It echos every thing as it is, all I want is that everywhere where it has "\n" it goes to new line.
– Gavin Dec 24 '13 at 12:15