<html><head><title>Select island</title></head><body>
<form action="/ucgi/~clareb/mason/something" method="get">
<select name="islandid">
<%perl>
my $sth=$dbh->prepare("SELECT islandid,archipelago,islandname
                              FROM islands
			      ORDER BY archipelago,islandname;");
$sth->execute();
</%perl>
% my $row;
% while ($row=$sth->fetchrow_hashref) {
<option value="<% $row->{'islandid'} |h %>"><% $row->{'archipelago'} |h %> -
<% $row->{'islandname'} |h %>
% }
<input type=submit name=submit value="Go">
</form>

<%init>
use CommodsWeb;
db_setocean('Cerulean');
db_connect();
</%init>
