- Jan 6, 2001
- 22,530
- 13
- 81
Working on a simple .php form to submit stuff on a website
Code in question:
else {
mail( "email@yahoo.com", "Feedback Form Results",
$message, "From: $email" );
header( "Location: http://www.hawkeyeboat.com/thankyou.html" );
}
It will only send an email with $message (change to whatever), one item. It will not send $name $phonenumber $email $message no matter how I set it up.
Code in question:
else {
mail( "email@yahoo.com", "Feedback Form Results",
$message, "From: $email" );
header( "Location: http://www.hawkeyeboat.com/thankyou.html" );
}
It will only send an email with $message (change to whatever), one item. It will not send $name $phonenumber $email $message no matter how I set it up.
