Hello, i am trying to send a form by email on submit with multiple text fields, a radio button, and a checkbox
i would like to know how to send the values of checkboxes and radio buttons.
second of all when i try to put more than five variables in the sending line of the script i get the massage a cant put in more than 5....
this is my script
<?php
$to = "****EMAIL*******";
$subject = "Contest Entry";
$Age = $_REQUEST['age'] ;
$FirstName = $_REQUEST['first_name'] ;
$LastName = $_REQUEST['last_name'] ;
$sent = mail($to, $subject, $Age, $FirstName, $LastName);
if($sent)
{print "Your mail was sent successfully"; }
else
{print "We encountered an error sending your mail"; }
?>