Results 1 to 3 of 3
Jul 24, 2003, 08:37 #1
parsing apostrophes as \' in mail function?
I have a form that, when submitted, will send out a email to certain people. Problem is, when they put an apostrophe in, it shows up as a \' . I'm assuming this is because it is escaping out of the php or something like that. How do I fix it? Is it something I can put in the headers or something? Below is an example of what one field of my code looks like, there are nine more fields that get emailed, but they are exactly the same.
$message .= "Company Name: $companyName \n";
Jul 24, 2003, 09:59 #2
- Join Date
- Jun 2003
- Waterloo, ON
- 0 Post(s)
- 0 Thread(s)
$companyName = stripslashes($companyName);
Cheers!My name is Steve, and I'm a super-villian.
Jul 24, 2003, 10:41 #3
I'll give it a try. Thanks again!