basically, when a message with an apostrohie ( ' ) gets sent with this code the apostrophie is not parsed correctly and shows up like this in the email the person gets joe's will = joe\'s
how can i fix this?? my code is below
<?PHP
$subject = "$thesubject";
$themessage = "$themessage
Your friend sent you this message:
$themessage
";
mail($eventInvites, $subject, $message, "From: $emailfromname<$emailfromemail>\nX-Mailer: PHP/" . phpversion());
?>