Page 1 of 1

textarea inside textarea [Solved]

Posted: Sat Nov 05, 2005 3:42 pm
by s.dot
I allow HTML in one of my forms.

and when someone puts in <textarea>whatever</textarea> it tends to mess up the page where they can edit this area. the </textarea> seems to be acting as the </textarea> for the input.

is there anyway to go around this, except replacing the <> with something like [textarea]whatever[/textarea]

Posted: Sat Nov 05, 2005 3:45 pm
by feyd

Posted: Sat Nov 05, 2005 3:52 pm
by s.dot
yes, but when pulling the info from the DB, back into the textarea for editing, won't that show the entities instead of the code?

Posted: Sat Nov 05, 2005 3:53 pm
by feyd
try. it. :)

Posted: Sat Nov 05, 2005 3:56 pm
by s.dot
bah humbug! Im lazy :P but will do

Posted: Sat Nov 05, 2005 4:03 pm
by s.dot
nice, i honestly didn't think that would work. that's why i didn't even try it. shows how much i know.