I'm in some really big trouble at the moment because i'm supposed to be making a street team form for a bands website. Everything seems to be working but the problem is is when i do actually add some text into the form it comes back saying:
Warning: mail() expects at most 5 parameters, 13 given in /home/watashi/public_html/Rob/streetsubmission.php on line 13
I need those 13 parameters working asap and i don't know how to allow it.
Heres the link:
http://www.watashi-wa.com/Rob/streetteam.htm
Code:
<?
if (!empty($_POST['name']) || !empty($_POST['email']) || !empty($_POST['adreess']) || !empty($_POST['city']) || !empty($_POST['state'])
|| !empty($_POST['zip']) || !empty($_POST['age']) || !empty($_POST['bands']) || !empty($_POST['why']))
{
mail("sot_wolf@yahoo.com", "Street Team", "Name: " . $name, "E-mail: " . $email, "address: " . $address, "City: " . $city, "State: " .$state,
"Zip Code: " . $zip, "Age: " . $age, "Favorite Bands: " . $bands, "Why the street team?: " . $why,
"music business: " . $musicbiz, "From: Watashi wa");
echo "<B>You've successfully been added to the Street Team</b><Br><br>";
} else {
echo "Not all the fields were filled out. Please return and try again.<br><Br>";
}
?>
If someone knows whats wrong please tell me... Its imperative that this is done as quickly as possible.
Thx for your time