- size=80
-</&>
-
-% } else { #---------- dropdowns, user selects from menus ----------
-
-% my $sth= $dbh->prepare("SELECT commodname,commodid FROM commods
-% ORDER BY commodname");
-% $sth->execute();
-% my $row;
-<select name="commodid">
-<option value="">Select commodity...</option>
-% while ($row= $sth->fetchrow_arrayref) {
-% my $selected= $commodid eq $row->[1] ? 'selected' : '';
-<option value="<% $row->[1] %>" <% $selected %>><% $row->[0] |h %></option>
-% ($commodname,$cmid) = @$row if $selected;
-% }
-</select>
-
-% } #---------- end of dropdowns, now common middle of page code ----------