I have a form in a webpage that is for users to fill text strings and a button to submit it. In order to avoid quote or other special charators entered by the user, I use addslashes() to avoid quote or other special charators. When I retrieve the value from mysql and display it to the webpage again, everyting works fine, but when I use mail() to email the content to my own email address. I found backslash have been placed in front of quote charactors. That is something like this:
If the original string is: AAA's aaa
the string shown in my mail box becomes: AAA\'s aaa
Is there some pre-defined function for removing the backslash. I'm also wondering why backslash does not show up when I retrieve it to the webpage.
Thanks.