Re: Line Breaks in <textarea>

From: Date: Thu, 28 Jun 2001 12:54:22 +0000
Subject: Re: Line Breaks in <textarea>
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-55482@lists.php.net to get a copy of this message
try the function nl2br($value) regards, Alva Chew "Nathan Cook" <ncook@pcsedu.com> wrote in message news:00cf01c0ff3d$72992160$a300000a@pcsedu.com... > Hello- > > I am selecting a value from a blob field in a mysql db. The value looks like > this: > > Test 1....2...3 \r \n <br> %0%D Test > > When I print that value in a <TEXTAREA>$value</TEXTAREA> -- The textarea returns > exactly what you see above. I am trying to get it to display a line break (so > that I can store the line breaks in the db). If you can shed any light on this > subject, please share. > > Thank You, > Nathan Cook > ncook@pcsedu.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#55482) next »