8.6.1 Variable Values - Continued

If we run the previous page's example, we see a form:

Netscape: Untitled

File Edit View Go Communicator
Location:
Pick some colors:

(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):

Back: Variable Values Next: Variable Values - Continued
Copyright © 2024 Thunderstone Software LLC. All rights reserved.