Re: [PHP] new lines in textareas?
- From: tedd.sperling@xxxxxxxxx (tedd)
- Date: Sun, 30 Mar 2008 12:29:10 -0400
At 9:26 PM -0700 3/29/08, Mary Anderson wrote:
Hi all,
I have a php script which produces text which is to be displayed in a textarea. I have the wrap for the text area set to 'hard'. I need to have newlines inserted in the text.
"\n" and "<br>" don't work. They just get quoted literally in the text. I suspect I need to use htmlspecialchars , but don't know what special character to feed it.
Apologies if this should go to an HTML forum. I checked several archives and did not find anything useful. (They tended to tell me to put in \n or <br>!)
Thanks
Mary Anderson
Show the code.
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
.
- Follow-Ups:
- Re: [PHP] new lines in textareas?
- From: Paul Scott
- Re: [PHP] new lines in textareas?
- References:
- new lines in textareas?
- From: Mary Anderson
- new lines in textareas?
- Prev by Date: Re: [PHP] Google Pagerank script
- Next by Date: Re: [PHP] new lines in textareas?
- Previous by thread: Re: [PHP] new lines in textareas?
- Next by thread: Re: [PHP] new lines in textareas?
- Index(es):