Why isn't my PHP file showing newlines or tabs in a browser?

shadowcamperz

New member
Demonstration Code:
<?php
echo "3\n4\t5";
?>

Displays "3 4 5"
-Using php v 5.3.2 from EasyPHP WAMP
-Viewed on Firefox and IE on Windows
-Apache 2.2.14
\r\n is still a space.
 
Back
Top