Below is just one way and please note I didn't test for error checking, but should work for you.
First, in your form page you'll want to wrap those input tags with the form tag. IE: <form method="post" name="contactForm" action="formProcess.php"> if you haven't already.
Put 'name="name" and name="phone", etc. in each of your input tags next to your value="...".
In formProcess.php use something like this:
PHP Code:
<?
# strip nasties that somebody could have tried injecting
$name= strip_tags($_POST['name']);
$email = strip_tags($_POST['email']);
$phone = strip_tags($_POST['phone']);
$comment = strip_tags($_POST['comment']);
// Email address to send to...
$mailto = "somename@somedomain.com"; //change this to your email address you want the form sent.
//Email address sent from...
$mailhead = "From: $email \n";
// Email subject
$mailsubject = "Contact Form!";
// Email body text for notifications
$mailbody = "Here are the details of this email:\n \n \n";
$mailbody .= "$name \n";
$mailbody .= "$email \n";
$mailbody .= "$phone \n";
$mailbody .= "$comment \n";
# Double check that email address is good and send form.
if (!eregi("\n",$email)) {
mail($mailto, $mailsubj, $mailbody, $mailhead);
}
# Do some type of redirection or just say "Thank You, form has been submitted"
?>
Much more could be done with it, but this is a simple start that should do the trick.