Let me know if this works for you...
Code:
<form action="contact-me.php" method="post" enctype="multipart/form-data" name="frogprocess">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
</tr>
<tr>
<td id="main-text" width="27%" align="left">First Name:</a> </td>
<td width="65%" align="left"><input size="46" name="fname" type="text" /></td>
</tr>
<tr>
<td id="main-text" width="27%" align="left">Phone Number:</a> </td>
<td width="65%" align="left"><input size="46" name="phone" type="text" /></td>
</tr>
<tr>
<td id="main-text" width="27%" align="left">Email Address:</a> </td>
<td width="65%" align="left"><input size="46" name="email" type="text" /></td>
</tr>
<tr>
<td id="main-text" width="27%" align="left">Organization Name:</a> </td>
<td width="65%" align="left"><input size="46" name="organization" type="text" /></td>
</tr>
<tr>
<td id="main-text" width="27%" align="left"> </td>
<td width="65%" align="left"><input name="submit" type="submit" /></td>
</tr>
</table>
</form>
This goes into a file, is should be the same name as the 'action' property in the <form> tag above...namely, contact-me.php
Code:
<?php
// the code block below gets the values/variables from your form
$fname = $_POST['fname'];
$phone = $_POST['phone'];
$email = $_POST['email'];
$organization = $_POST['organization'];
// end getting values/variables from your form
// this is pretty much self explanatory
$subject = "Information from the website form";
$message = "
From: $fname: ($email)\n
First Name: $fname \n
Phone Number: $phone \n
Email Address: $email \n
Organization: $organization \n";
$from = $email;
$tomail = "me@mysite.com";
// the mail function below sends out the email
mail($tomail, $subject, $message, $from);
//the below code is your thank you page
header('Location: http://www.mysite.com/thank-you.html');
?>