Msg#: 3127164 posted 4:39 pm on Oct 19, 2006 (gmt 0)
Hi i have just started reading php book and here it what is says , hope it clears all your doubts
One mistake often made by new PHP programmers (especially those from a C background) is to try to break lines of text in their browsers by putting end-of-line characters (ď\nĒ) in the strings they print. To understand why this doesnít work, you have to distinguish the output of PHP (which is usually HTML code, ready to be sent over the Internet to a browser program) from the way that output is rendered by the userís browser. Most browser programs will make their own choices about how to split up lines in HTML text, unless you force a line break with the <BR> tag. End-of-line characters in strings will put line breaks in the HTML source that PHP sends to your userís browser (which can still be useful for creating readable HTML source), but they will usually have no effect on the way that text looks in a Web page.