holding carriage returns and newlines in a textarea
Posted: Sat May 07, 2005 4:24 pm
Hello,
I'm having problem w/ a textarea. I lose the newlines and carriage returns in a textarea when I refresh the page from another frameset, I lose all the newlines and carriage returns and the text is combined on one line.
I've tried using the nl2br() function but, when the page is refreshed by another frameset, it replaces the newlines w/ <br />.
any ideas how to overcome this problem?
Thanks for your help.
Clem C.
I'm having problem w/ a textarea. I lose the newlines and carriage returns in a textarea when I refresh the page from another frameset, I lose all the newlines and carriage returns and the text is combined on one line.
I've tried using the nl2br() function but, when the page is refreshed by another frameset, it replaces the newlines w/ <br />.
any ideas how to overcome this problem?
Thanks for your help.
Clem C.