- or download this
<form>
<select name="month" size="1">
...
</select>
<input type="submit">
</form>
- or download this
my $month = $cgi->param('month');
# You are using CGI or CGI::Simple, are you not?
# now do whatever you want with that $month
- or download this
# here is one of the million ugly ways of doing this.
# The better way would be to use a templating system.
...
$form .= "</select>\n";
return $form;
}