RE: [PHP] re:linebreak

2001-02-15 Thread Maxim Maletsky
: Jens Nedal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 9:37 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] re:linebreak Hy there everyone on the board 8), just a new listviewer droppign in. In case of displaying \n that are stored in a variable or com from a DB or inptu field you can

Re: [PHP] re:linebreak

2001-02-14 Thread Steve Werby
"Jens Nedal" <[EMAIL PROTECTED]> wrote: > In case of displaying \n that are stored in a variable or com from a DB or > inptu field you can also use nl2br($var) which automatically converts those > linebreaks to and so get displayed correctly. Good call, Jens. > Though that will not work > for t

Re: [PHP] re:linebreak

2001-02-14 Thread Jens Nedal
Hy there everyone on the board 8), just a new listviewer droppign in. In case of displaying \n that are stored in a variable or com from a DB or inptu field you can also use nl2br($var) which automatically converts those linebreaks to and so get displayed correctly. Though that will not work for

Re: [PHP] re:linebreak

2001-02-13 Thread Steve Werby
"Deependra B. Tandukar" <[EMAIL PROTECTED]> wrote: > I did with . "\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 th

[PHP] re:linebreak

2001-02-13 Thread Deependra B. Tandukar
Thanks! I did with . "\r\n" too is not giving a new line. DT