Adding a Child Filter to Existing Form
I'm trying to add a child filter to an existing filter on a products page. I've followed the how to for dynamic drop downs without success. I've even deleted the current filter and started from scratch using the how to with a result of a blank page even with error reporting on. Below is the code pertinent to the current filter which I would like to be the parent. I would like to have a child filter underneath this one that's populated with "models" based off of the "manufacturers" in the parent filter. And have the models change based off of a certain "manufacturer" if a manufacturer is selected in the parent. The "models" for the child filter come from the same table as the products. I have to mention there is also an url parameter associated with this page. This parameter passes along the category to be viewed. Any help would be greatly appreciated. I've attached a zip of the page if that helps since my question above may be convoluted.
<div id="search_filter">
<div id="filter">Filter By Manufacturer</div>
<div id="manufacturers">
<table width="200" border="0" cellpadding="0" cellspacing="0" class="forms">
<tr>
<td width="200"><form method="post" name="filterform" action="<?php echo($_SERVER['PHP_SELF']); ?><?php echo((isset($_GET['Category']))?"?Category=".$_GET['Category']:""); ?>">
<input name="WADbSearch1" type="hidden" value="search">
<select name="ProductManufacturerID" class="input-med" id="ProductManufacturerID" onChange="document.filterform.submit();">
<option value="">Non-Selected</option>
<?php
do {
?>
<option value="<?php echo $row_WADAProductManufacturerID['ManufacturerID']?>"><?php echo $row_WADAProductManufacturerID['ManufacturerName']?></option>
<?php
} while ($row_WADAProductManufacturerID = mysql_fetch_assoc($WADAProductManufacturerID));
$rows = mysql_num_rows($WADAProductManufacturerID);
if($rows > 0) {
mysql_data_seek($WADAProductManufacturerID, 0);
$row_WADAProductManufacturerID = mysql_fetch_assoc($WADAProductManufacturerID);
}
?>
</select>
</form></td>
</tr>
</table>
</div>
</div>