September 2007
Intermediate to advanced
600 pages
20h 21m
English
List loops are designed to make working with ColdFusion lists simple and error-free. Whether it is lists created by form submissions, manual lists, lists derived from database queries (regardless of the origin), any list (with any delimiter) can be iterated over using <cfloop>.
| → | For an introduction to lists, see Chapter 8. |
The following example uses a list created in Chapter 8 and loops through the list displaying one element at a time (see Figure 9.9). Save Listing 9.12 as loop2.cfm.
<!--- Name: loop2.cfm Author: ... |
Read now
Unlock full access