I have a script that is doing a good job of inserting the variables into the database, but for a solid week I have tried everything and CANT get the variablese sent to me in the email form. The email gets delivered without the variables every time.
Any help would be very much appreciated. Thanks. :queasy:
$sql="INSERT INTO contractor
(first,last,phone,zip,email,biztype,compname)
VALUES
('$POST[first]','$POST[last]','$POST[phone]','$POST[zip]','$POST[email]','$POST[biztype]','$_POST[compname]')";
if (!mysql_query($sql,$con))
{
die('Error: ' . mysql_error());
}
mail('myemail@cox.net', 'Contractor Signup', 'email');