format of text in a textarea
Posted: Mon Apr 28, 2003 10:42 am
Hey,
I have a form that has a textarea spot. Now if I enter a few lines of text in there, then press [enter] a few times, write some more text, then submit it. On the next page when I take the information they entered in the text area and store it in a MySQL database field with the property of that field being text. Then later on, I access that field and print out what they wrote, but when I do this all blank lines are ignored. Do you know why?
Thanks for any help provided!
I have a form that has a textarea spot. Now if I enter a few lines of text in there, then press [enter] a few times, write some more text, then submit it. On the next page when I take the information they entered in the text area and store it in a MySQL database field with the property of that field being text. Then later on, I access that field and print out what they wrote, but when I do this all blank lines are ignored. Do you know why?
Thanks for any help provided!