PHP with HTML form
Posted: Tue Nov 11, 2003 8:01 pm
Right now, I am trying to make a PHP form send the info collected from a realtor form. I want the info to be emailed. My only problem is that when I use a checkbox and have more than one box checked only the last box that is checked will show up.
This is the HTML part of the page:
This is the PHP part:
Can anyone tell me what I am doing wrong, everything else in the email shows up fine, except this part it will only show "6" if I check all the boxes
Thanks for your help!
This is the HTML part of the page:
Code: Select all
<input type="checkbox" value="1" NAME="Interiora">Living room<BR>
<input type="checkbox" value="2" NAME="Interiora">Fireplace<BR>
</TD>
<TD>
<input type="checkbox" value="3" NAME="Interiora">Den/study<BR>
<input type="checkbox" value="4" NAME="Interiora">Family Room<BR>
</TD>
<TD>
<input type="checkbox" value="5" NAME="Interiora">Hardwood Floors<BR>
<input type="checkbox" value="6" NAME="Interiora">Laudry room<BR>Code: Select all
<?php
"\n\nInterior Features - ".$HTTP_POST_VARS["Interiora"].
?>Thanks for your help!