PHP Email Coding

I am new to PHP and am having an issue with my form to email code. It’s working, but I get additional charters in my email message when someone uses the symbols for feet and inches (’ or ").

When someone types the following in my contact form…
2’-3" and 10’-3"

I get this emailed to me…
2’-3" and 10’-3"

Any help fixing this would be greatly appreciated!!
Thanks

Sounds like you’re using mysql_real_escape_string or addslashes(). Either way, just use stripslashes() to remove them.

Sponsor our Newsletter | Privacy Policy | Terms of Service