I’m new to PHP but been programing in CFML for 7 years and I’m having a bit of trouble figuring out how to convert one of my mail pages. I have a form (mail.htm) posting to (mail_act.php) page that has this PHP code in it. I am getting the email in HTML fine I just cant get the variable to come through the email comes through with the $_Post’s where there supposed to be, just no variables…lol. Please help me get over this hump…Thanks much!!
[code]<?php $to = "email@example.com"; $subject = "Trip Request"; $message = '
Hooked Up Sportfishing Request
$_POST["city"] $_POST["state"] $_POST["zipcode"]
$_POST["hu_req"]'; $headers = 'MIME-Version: 1.0' . "rn"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "rn"; $headers .= 'From: Hookedup_Trip_Request ' . "rn"; mail($to, $subject, $message, $headers); ?>[/code]