<form method="post" action="<?php echo $PHP_SELF?>">
Enter # for facilityname(1)
<input type="text" name="facilitynum(1)">
<p>
Enter # for facilityname(2)
<input type="text" name="facilitynum(2)">
<p>
etc...........................
<input type="Submit" name="submit" value="Enter my info">
</form>
houseID | facilityid | number of facilities
For the table, you left out the facilityname. But for the number of facilities, you would use "$facilitynum[xx]" if you are going to use an array.
Hope this helps, I am just learning php myself.
arelgee