Use nl2br (new line to <BR>).
Mick
On Wed, 31 Jan 2001, James Smith wrote:
> Alright, on my site, I have a news section, whenever i
> goto insert new news in the Admin area, I have to
> insert <br> or /n in it, while typing in the news.
> How do I make this a automated process I know it can
> be done, but addslashes doesn't work and
> htmlspecailchars() doesn't work what will?
>
> Thanks,
>
> James
>
> __________________________________________________
> Get personalized email addresses from Yahoo! Mail - only $35
> a year! http://personal.mail.yahoo.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]
>
>
--
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]