Perl-Sensitive Sunglasses | |
PerlMonks |
Re: drop down menusby Michalis (Pilgrim) |
on Sep 21, 2000 at 14:56 UTC ( [id://33463]=note: print w/replies, xml ) | Need Help?? |
If you use CGI.pm and IF you have assigned the values of the db in a hash named (for example) %myhash then what you want is :
you may also use a 'default' value. (man CGI.pm and look for popup_menu). Needless to say that the above code won't work on its own (it needs a new CGI and much more code, which I guess you know how to create).
In Section
Seekers of Perl Wisdom
|
|