html code entered into a form showing up strange in table
Posted: Thu Feb 05, 2009 8:15 pm
So i have a form that i set up in mysql as a varchar, with 250 character limit. i am able to enter information into this field, but if i submit a url, it comes back strange.
say i enter the following into my form:
any thoughts?
thanks
say i enter the following into my form:
once it hits the table it shows like this:check out <a href="http://mysite.com/thispage.php">this page</a> today
i have tried using varchar and text fields, and neither seems to be working.check out <a href=\"http://mysite.com/thispage.php\">this page</a> today
any thoughts?
thanks