Thank You!
Your request was received. We will contact you soon."; $to = "info@activeankle.com"; $subject = "Get Chameleon Contact Us Page Results"; $mailheaders = "From: $email\n"; $mailheaders .= "Reply-To: $email\n\n"; $date = date("F jS"); $games = ""; if ($_POST['YourGame']){ foreach ($_POST['YourGame'] as $val) { $games .= "$val, "; } $games = substr($games, 0, -1); } $find = ""; if ($_POST['YourGame']){ foreach ($_POST['FindUs'] as $val) { $find .= "$val, "; } $find = substr($find, 0, -1); } $msg = "

Your request was sent on $date
\n"; $msg .= "Below is the information you submitted:\n"; $msg .= "

\n\n"; $msg .= "Name: $name

\n\n"; $msg .= "E-mail: $email

\n\n"; $msg .= "Phone: $phone

\n\n"; $msg .= "Type a question: $textfield4

\n\n\n\n"; $msg .= "What's your game? $games

\n\n"; $msg .= "What's your game? - Other: $YourGameOther

\n\n"; $msg .= "How did you find us? $find

\n\n"; $msg .= "How did you find us? - Other: $FindUsOther

\n\n"; // send function - you don't need to edit this either... print $msg; echo "
"; $msg = ereg_replace('<([^>]|\n)*>', '',$msg); mail($to, $subject, $msg, $mailheaders); } // if they don't give required fields, here's the response... else { echo "Sorry, but an error occurred when sending your form. The Email field is required."; echo "

Please try again."; } } else { ?>

Need the inside scoop? Go ahead, ask us anything

Name
E-mail
Phone
Type a question
 
Other info (optional)
 
 
What's your game?
(optional)

Volleyball Basketball
Football Baseball
Other (please specify)

 
How did you find us?
(optional)

My school Web banner
Other players Web search
My coach/trainer Recieved info in mail
Magazine (what mag?)
Other (please specify)