Roody
03-06-08, 02:12 PM
I am having issues with my code. If you take a look at this page here. (http://www.chbs.org/school/contact.php)
When a person submits their information we are receiving info from all fields except City and State. Any ideas on what is wrong with my code below?
<td><form action="sendmail.php" method="post" name="form1" style="margin-bottom: 0;">
<table width="901" border="0" cellpadding="0" bordercolor="#000000">
<tr>
<td width="9%">Name</td>
<td colspan="3"><input name="Name" type="text" id="Name"></td>
</tr>
<tr>
<td> </td>
<td colspan="3"> </td>
</tr>
<tr>
<td>Email</td>
<td colspan="3"><input name="Email" type="text" id="Email"></td>
</tr>
<tr>
<td> </td>
<td colspan="3"> </td>
</tr>
<tr>
<td>Address</td>
<td colspan="3"><input name="Address" type="text" id="Address"></td>
</tr>
<tr>
<td> </td>
<td colspan="3"> </td>
</tr>
<tr>
<td>City</td>
<td width="26%"><input name="City" type="text" id="City"></td>
<td width="6%">State</td>
<td width="59%"><input name="State" type="text" id="State"></td>
</tr>
<tr>
<td> </td>
<td colspan="3"> </td>
</tr>
<tr>
<td>Zip Code</td>
<td><input name="Zip" type="text" id="Zip"></td>
<td>Phone</td>
<td><input name="Phone" type="text" id="Phone"></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>Request Brochure</td>
<td><select name="Brochure" id="Brochure">
<option value="Yes">Yes</option>
<option value="No">No</option>
</select></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="4"> </td>
</tr>
<tr>
<td valign="top">Comments</td>
<td colspan="3"><textarea name="Comments" cols="60" rows="5" id="Comments"></textarea></td>
</tr>
<tr>
<td valign="top"> </td>
<td colspan="3"><input name="Submit" type="submit" value="Submit"></td>
</tr>
<tr>
<td valign="top"> </td>
<td colspan="3"><font size="1"><font size="1">
<?php include("footer.php"); ?>
</font></font></td>
</tr>
</table>
</form></td>
When a person submits their information we are receiving info from all fields except City and State. Any ideas on what is wrong with my code below?
<td><form action="sendmail.php" method="post" name="form1" style="margin-bottom: 0;">
<table width="901" border="0" cellpadding="0" bordercolor="#000000">
<tr>
<td width="9%">Name</td>
<td colspan="3"><input name="Name" type="text" id="Name"></td>
</tr>
<tr>
<td> </td>
<td colspan="3"> </td>
</tr>
<tr>
<td>Email</td>
<td colspan="3"><input name="Email" type="text" id="Email"></td>
</tr>
<tr>
<td> </td>
<td colspan="3"> </td>
</tr>
<tr>
<td>Address</td>
<td colspan="3"><input name="Address" type="text" id="Address"></td>
</tr>
<tr>
<td> </td>
<td colspan="3"> </td>
</tr>
<tr>
<td>City</td>
<td width="26%"><input name="City" type="text" id="City"></td>
<td width="6%">State</td>
<td width="59%"><input name="State" type="text" id="State"></td>
</tr>
<tr>
<td> </td>
<td colspan="3"> </td>
</tr>
<tr>
<td>Zip Code</td>
<td><input name="Zip" type="text" id="Zip"></td>
<td>Phone</td>
<td><input name="Phone" type="text" id="Phone"></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>Request Brochure</td>
<td><select name="Brochure" id="Brochure">
<option value="Yes">Yes</option>
<option value="No">No</option>
</select></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="4"> </td>
</tr>
<tr>
<td valign="top">Comments</td>
<td colspan="3"><textarea name="Comments" cols="60" rows="5" id="Comments"></textarea></td>
</tr>
<tr>
<td valign="top"> </td>
<td colspan="3"><input name="Submit" type="submit" value="Submit"></td>
</tr>
<tr>
<td valign="top"> </td>
<td colspan="3"><font size="1"><font size="1">
<?php include("footer.php"); ?>
</font></font></td>
</tr>
</table>
</form></td>