On Thu, 28 Jun 2001 04:44, Nathan Cook wrote:
> 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
> [EMAIL PROTECTED]

You might want to make your textarea tag thus:

<TEXTAREA WRAP=VIRTUAL>$value</TEXTAREA>

to show any EOLs as line breaks.

Cue <RANT> from Richard Lynch on TEXTAREA :-)

-- 
David Robley      Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES      Flinders University, SOUTH AUSTRALIA  

   Spell chequers dew knot work write.

-- 
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]

Reply via email to