Hello, The form I have below is not sending anything when I click submit.
Here is the form:
<div class="form"I'll attend: full time part time
Submit
And here is the PHP for test.php the form is linking to:
<?php // Contact subject $firstname ="$first_name"; // Details $message="$detail"; // Mail of sender $mail_from="$email"; // From $header="from: $first_name <$mail_from>"; // Enter your email address $to ='[email protected]'; $send_contact=mail($to,$firstname,$message,$header); // Check, if message sent to your email // display message "We've recived your information" if($send_contact){ echo "We've recived your contact information"; } else { echo "ERROR"; } ?>I know the PHP is not grabbing all form fields I setup. Is there something wrong with the Form code on top: Any help would be appreciated.
Thanks