Here is the form page, generic for now so I can try and figure this out. I fill out the form and hit submit. It then uses the code I listed above to generate and send out the email. It works, but the email is in plain text. I wish to have it send an email in html so I can format it with a table and 2 colums for the data to line up and look nicer.
Generic form at the moment
[code]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title></title>
<meta name="description" content="">
</head>
<body>
<form method="post" action="send.php">
<table border=0 summary="">
<tr>
<td width="300">First Name:</td>
<td><input type="text" name="firstname" size="25" maxlength="40">
</td>
</tr>
<tr>
<td width="300">Last Name:</td>
<td><input type="text" name="lasttname" size="25" maxlength="40">
</td>
</tr>
<tr>
<td width="300">Phone:</td>
<td><input type="text" name="phone" size="15" maxlength="15">
</td>
</tr>
</table>
<br><br>
<table border=0 summary="">
<tr>
<td><b>Work Settings</b></td>
<td> </td>
</tr>
<tr>
<td width="300">General Acute Care</td>
<td><select name="GeneralAcuteCare">
<option value=""></option>
<option value="Theory, no practice"> Theory, no practice</option>
<option value="Intermittent experience"> Intermittent experience</option>
<option value="Experienced"> Experienced</option>
<option value="Supervise and Teach"> Supervise and Teach</option>
</select>
</td>
</tr>
<tr>
<td width="300">Home Health</td>
<td><select name="HomeHealth">
<option value=""></option>
<option value="Theory, no practice"> Theory, no practice</option>
<option value="Intermittent experience"> Intermittent experience</option>
<option value="Experienced"> Experienced</option>
<option value="Supervise and Teach"> Supervise and Teach</option>
</select>
</td>
</tr>
<tr>
<td width="300">Skilled Nursing Facility</td>
<td><select name="SkilledNursingFacility">
<option value=""></option>
<option value="Theory, no practice"> Theory, no practice</option>
<option value="Intermittent experience"> Intermittent experience</option>
<option value="Experienced"> Experienced</option>
<option value="Supervise and Teach"> Supervise and Teach</option>
</select>
</td>
</tr>
<tr>
<td width="300">Out patient Clinic</td>
<td><select name="OutpatientClinic">
<option value=""></option>
<option value="Theory, no practice"> Theory, no practice</option>
<option value="Intermittent experience"> Intermittent experience</option>
<option value="Experienced"> Experienced</option>
<option value="Supervise and Teach"> Supervise and Teach</option>
</select>
</td>
</tr>
</table>
<table>
<tr>
<td><b>Comments:</b></td>
</tr>
<tr>
<td><textarea name="comments" cols="80" rows="10">
</textarea>
</td>
</tr>
</table>
<div align="right">
<input type="submit" value="Submit">
</div>
</form>
</body>
</html>
[/code]