"Deependra B. Tandukar" <[EMAIL PROTECTED]> wrote:
> I did with <br>. "\r\n" too is not giving a new line.

Actually "\n" does create a newline.  If you view the source code of the web
page from the browser you'll see that it works.  "\n" is not an HTML tag.
It's not designed to create a newline in the HTML output sent to the
browser.  As you discovered, the <BR> tag will do that.  Hope that is clear.
"\n" is typically used in PHP code so that when one looks at the HTML code
sent to the browser one doesn't have to look at lines of HTML code that
contain hundreds upon hundreds of characters.

--
Steve Werby
COO
24-7 Computer Services, LLC
Tel: 804.817.2470
http://www.247computing.com/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to