Sep 6, 2000, 11:22 AM
Post #2 of 2
Re: data from a txt in a select list ?...
[In reply to]
Yes, that would make the most sense.
Here is my line of thinking, even though you
did not give much detail....
<BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR>
my %Fruits = ( 'Peaches' => 12,
'Pears' => 1,
'Bananas' => 6,
'Oranges' => 8);
Using that hash, you can dynamically set up a select list in output HTML to have a select
with the visible names == keys %Fruits
and with the values of the selected items ==
When you read the values passed in, write the values of each chosen item in the select
box to the file/variable of your choosing.