
fashimpaur
User
/ Moderator
Sep 6, 2000, 11:22 AM
Post #2 of 2
(129 views)
|
|
Re: data from a txt in a select list ?...
[In reply to]
|
Can't Post
|
|
Pierre, 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); </pre><HR></BLOCKQUOTE> 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 == values %Fruits. 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. HTH, Dennis
|