Page 1 of 1

format of text in a textarea

Posted: Mon Apr 28, 2003 10:42 am
by nigma
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!

Posted: Mon Apr 28, 2003 11:54 am
by m3mn0n

Posted: Mon Apr 28, 2003 1:07 pm
by nigma
I get this error while trying to use n12br:
Fatal error: Call to undefined function: ni2br() in /path/to/file

Posted: Mon Apr 28, 2003 1:30 pm
by DynPHP
thats because it's an "L" not a "1"

Posted: Mon Apr 28, 2003 1:41 pm
by nigma
Lol, I am so sorry. I tried i and 1 but neither worked. Thanks!