Look for "nl2br()" on the php manual. There is more information there.
Any way you can store text fields as the user has typed it in, when you are
about to show them what they wrote you get text from database and apply the
function on the result before put it in a html tag.

select * ...
...

$text_ready = nl2br($row["text"]) ;


HTH.
Jayme.

-----Mensagem Original-----
De: Matthew Cothier <[EMAIL PROTECTED]>
Para: <[EMAIL PROTECTED]>
Enviada em: quarta-feira, 21 de fevereiro de 2001 18:11
Assunto: [PHP-DB] nl2br()


> Where exactly do I need to insert this?
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
> --
> PHP Database 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 Database 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