Weird mail() thing

From: Date: Tue, 03 Oct 2000 14:59:07 +0000
Subject: Weird mail() thing
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-18429@lists.php.net to get a copy of this message
When I lets say we have this: <?php $to = <an email address> $subject="How are you?" $body="I'm coming over your house tonight." mail($to, $subject, $body); ?> The body of the email comes through as this "I\'m coming over your house tonight." Why is it handling the single quotes this way? Is there a workaround? Confused PHP Newbie, Randy

« previous php.general (#18429) next »