You could look up the PHP function get_magic_quotes_gpc() When a form is posted, you could do a check like this: if ( get_magic_quotes_gpc() ) { //where $subject contains the subject string and $newsubject is what you use for the mail $newsubject = stripslashes ($subject); } This will remove the escape slashes added by the server php settings. Read magic_quotes_gpc in php reference. -----Original Message----- From: ron.php [mailto:ron.php@xxxxxxxxxxxxxxxxxx] Sent: Wednesday, September 12, 2007 7:03 AM To: php-db@xxxxxxxxxxxxx Subject: Form processing I am trying to set up a form which will send e-mails for "late breaking news" and urgent e-mailings. If I have "Today's news" in the subject line on the e-mail it comes out with "Today\'s news" --- how can I prevent this from happening? Ron -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php