I have a script which retrieves the body of an email message from a MySQL database to be sent to someone who applies using a form. The script contains this:
$url = "<a href=\"http://$HTTP_HOST$SCRIPT_NAME\">http://$HTTP_HOST$SCRIPT_NAME</a>"; $url = addslashes("$url"); $msg1 .= "$body"; //to be sent via mail() Then within the body of the message I want $url to show up. The body of the message in the database looks like this: ----------- You are receiving this exclusive message to confirm your application through $url. ----------- I've tried everything I can think of with $url, curly brackets, backslashes etc. What am I missing? Thanks. Jeff Oien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php