Try adding the same animal several times to the list. Does this remind you vaguely of a shopping cart?
This script only works with Netscape browsers
Add/Delete | Current Contents EOF ; print " |
---|---|
",start_form;
print scrolling_list(-name=>'new_animals',
-values=>[@ANIMALS],
-multiple=>1,
-override=>1,
-size=>10)," "; print submit(-name=>'action',-value=>'Delete'), submit(-name=>'action',-value=>'Add'); print end_form; print " | ";
if (%zoo) { # make a table
print "
|