I have the form below and it is not passing anything in the 'filter' section and I can't figure out why. i'm using this dropdown to filter out the UC criteria so i would need some sort of usable value that I can then spit into a query to filter out my results. Help?
ECHO "<FORM NAME='filter' METHOD='post' ACTION='".$_SERVER["PHP_SELF"]."?filter=".$_POST["uc"]."' ENCTYPE='multipart/form-data'>";
ECHO " Filter by Unit Code? ";
ECHO "<SELECT name='uc' onchange='this.form.submit()'>";
ECHO "<OPTION VALUE='ALL'>ALL</OPTION>";
$DispQueryUC = "SELECT DISTINCT UC FROM $MaxxForceInventoryTable ORDER BY UC ASC";
$DispResultUC = mysql_query($DispQueryUC) or die(mysql_error().'<br />');
while ($Row = mysql_fetch_assoc($DispResultUC))
{
ECHO "<OPTION VALUE='" . $Row["UC"] . "'>" . $Row["UC"] . "</OPTION>";
}
ECHO "</SELECT>";