If we run the previous page's example, we see a form:
red orange yellow green blue purple brown black
(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 box, we need to print an OPTION tag for each value. The builtin function <options> takes care of that for us.
Let's select a few colors and submit the form (next page):