|
mailform problem with stripslashes()
Ok here's the problem...after form validation the key value is changed using stripslashes($value) but when I add supposedly new value to email I have to use stripslashes() again to get it to come out correctly. Otherwise all single quotes have a slash in front. Why?
once validated prep:
$data = stripslashes($value);
$_POST[$key] = $data;
Email Message:
$Message = stripslashes($Message);
Message:
$Message
__________________
NO Limits!!
|