1. Use dreamweaver, frontpage, or your favorite HTML editor to make your webpage containing the contact form.
2. Then you would want to rename the webpage file to .php extension.
3. Let's say you named the file contactus.php, change the form action="contactus.php"
4. Name your submit button, for example,
5. At the top of your contactus.php you would want to add your code to validate your form entry, and email the form to you:
<?
if(isset($_POST["contact_button"]){
// you may validate user input here
if(empty($_POST["..."]) || empty($_POST["..."])){
// echo your entire HTML form webpage here with error message
} else {
mail("to","subject","message","header");
// redirect to confirmation page or echo your own HTML here.
}
} else {
// echo your entire HTML form webpage here
}
?>