I use a similar form on a regular basis and have just become aware that whenever a single OR double quotation mark is inputted into the form the output to myself (through email) displays the quotation mark as the ASCII code so \' with a backslash ive looked around and dipped into unique character encodings specialentities but cant seem to find anything that will help output it as a normal quotation mark.
Share
It is an old security feature from PHP called “Magic Quotes”. All Quotes from GET- and POST varables are escaped with the backslash.
You can disable it by changing the value of
magic_quotes_gpctooffin your servers php.ini or manually sanitize the strings usingstripslashes($string).