If we run the previous page's example, we see a form:
(Run this example.
Download the source.)
Our script ran the function main
, which assigns a list of
values to $colors
. In order to print a SELECT
we need to print an OPTION
tag for each value. The builtin
takes care of
that for us.
Let's select a few colors and submit the form (next page):