in reply to Re: Drop Down Selection From Database
in thread Drop Down Selection From Database

It depends on what you want to do with this - if you are simply building a menu from available entries in a database - I'd put the entries in an array, then do a for loop like:
print "<SELECT NAME=Company_Name>\n"; foreach (@company) { print "<OPTION VALUE=$_>$_\n"; } print "</SELECT>\n";
However, if you want to do something more complex, like are editing that Company_Name field by using a drop down menu it's a bit more complex, because you've got to distinguish which option should be checked.