Hi,
I´m totally helpless with this. 😕 I´ve made a HTML form, here is a short form of it. What should I write in the submit.php file for the form to send me the data in the email? How can I direct the user onto the thank-you page after he has pressed the submit button?
Thank you in advance.
<form method="post" action="submit.php">
Surname:<input type="text" name="surname" />
First Name:<input type="text" name="firstname" />
Address:<input type="text" name="address1" />
Country:<input type="text" name="country" />
<input type="radio" name="gender" value="gendermale" />Male
<input type="radio" name="gender" value="genderfemale" />Female
<input type="radio" name="maritalstatus" value="married" />Married
<input type="radio" name="maritalstatus" value="single" />Single
<input type="checkbox" name="english" id="english" />English
<input type="checkbox" name="french" id="french" />French
<input type="checkbox" name="german" id="german" />German
<input type="checkbox" name="spanish" id="spanish" />Spanish
<input type="checkbox" name="art" id="art" />Art
<input type="checkbox" name="cooking" id="cooking" />Cooking
<input type="checkbox" name="literature" id="literature" />Literature
<input type="checkbox" name="sport" id="sport" />Sport
<input type="button" name="Send" value="Submit Form" />
</form>