I read on php.net site and see a lot of code there try to echo “\n”.
What is the point of doing so, because we need to view source to see new break. Why don’t just simply use <br /> tag?
I read on php.net site and see a lot of code there try to
Share
Possibly the program is intended to be run from a command-line, rather than a browser?
Possibly it is run in a browser, but output as
text/plain?Possibly it is in HTML, but printed inside a
<pre>tag?Possibly it’s just because the author wanted to have it looking neat when he does “View Source” from the browser.