Hi
Please help - I have a small mailing list script where the body of the email comes from a textarea. I have been getting \' and \" in the email where it is ' and " in the testarea. I have tried stripslashes() but it doesn't seem to make any difference. What am I doing wrong?
Thanks in advance
Will
Well i tried this code and it stripped the '\' from the matter in the Textarea all right:
if(mail("test@domain.com","Last mail", stripslashes($matter))) {
echo(stripslashes($matter)." send");
} else { echo ("mail cannot be send"); } ?>
Sorry - I was mistaken, you are right.
Thanks for the help.