• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

cfloop

Synopsis

[<cfloop index="index_name" from="integer" to="integer" [step="integer"]>]
[<cfloop condition="expression">]
[<cfloop index="index_name" list="list"  [delimiters="delimiters"]>
[<cfloop query="query_name" [startrow="integer"] [endrow="integer"]>]
[<cfloop collection="COM_Object|Structure" item="collection|key">]
  HTML and CFML
</cfloop>

A looping construct that can implement different kinds of looping, depending on the attributes specified. ColdFusion has five basic loop types: index, conditional, list, query, and collection.

Attributes

collection=" COM_Object | Structure "

PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint