how would I parse a selection from a combo box to php ?
If a users had to select 1 of the options in a combobox how can i take the selection as variable so that PHP can use it.
Like:
Code:
$name= pg_query("select * from tblproduct");
print "<select name=\"productname\" id=\"product\">";
while($res= pg_fetch_array($name)){
print "<option>";
print $res['productname'];
print "</option>";
}
print "</select>";
As you can see i'm loading a combox from the database.


