Hi...
I've RTFM'ed 'til my eyeballs are falling out...
What I'm trying to do is an html form that works a lot like this one right here. Typing into a textarea, and then sending the resulting text to a preview page, just like this comment page. I've gotten it to preserve my quotes and whatnot with stripslashes(), but no carriage returns or line feeds are showing up.
The line feeds return properly when I go back to the edit form (i.e. everything is as it was typed in, in the textarea), but when I go to just plain print the text, all the paragraphs are replaced with just a space--no line feed.
I'm printing the $_POST variable as a diagnostic separately, and there're no escape characters present representing cr's, lf's, \n's or anything. All my quotes are escaped properly, but I need to preserve the line feeds... any ideas, great UFicle?
Thanks
sean
|