I'm trying to have a form submit to a url with the users selection input from a dropdown. When I submit the form it goes to the search.html page as in the code but is not picking up the prodMFG from the dropdown. Any ideas how to make it work...a javascript or is there something wrong in my code below? Thanks!
<?php
$sql = "SELECT prodMFG FROM productDetail WHERE prodMFG != '' GROUP BY prodMFG";
$result = mysql_query($sql);
echo "<form action='{$GLOBALS['baseurl']}/search.html?=$prodMFG' method='POST'>
<select name='category' value=''></option>";
while($nt=mysql_fetch_array($result))
{
echo "<option value=$nt[prodMFG]>$nt[prodMFG]</option>";
}
echo "</select>";
?>