Re: nl2br()

From: Date: Wed, 21 Feb 2001 21:48:59 +0000
Subject: Re: nl2br()
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-6842@lists.php.net to get a copy of this message
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 <matthewcothier@hotmail.com> Para: <php-db@lists.php.net> 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: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#6842) next »