How to get the value off the selected value on the Drop Down List menu in PHP?

jed

New member
I have this code:
Print "<p> Select A Supplier Name from the Database: \n";
Print "<select name=\"Supplier\">\n";
while ($row= mysql_fetch_assoc($result))
{
$Supplier=$row['Name'];
print "<option value=$Supplier>$Supplier\n";
}
print "</select>\n";
print "</p>\n";
echo "<a href=\"encode.php?id=">PROCEED TO PRODUCT ENCODING</a>";


how can i edit the echo code so that when i click that link the selected value of the drop down list menu will be passed to encode.php... any help?
 
Back
Top