Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001062

Re: [PHP] Line Breaks in <textarea> From: Alva Chew (alvachew <email protected>)
Date: 06/28/01

try the function nl2br($value)

regards,
Alva Chew

"Nathan Cook" <ncook <email protected>> wrote in message
news:00cf01c0ff3d$72992160$a300000a <email protected>
> 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 <email protected>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>