Loops through the enclosing text the specified number of times[loop Parameters]Any Text or HTML[/loop]
[append db=some.db]...[/append]Record [index] added.
|Start||The starting index value to begin looping. This value is required and may be positive or negative.|
|End||The ending index value when looping. This value is required and may be positive or negative.|
|Advance||(Optional) The amount to advance by when looping. This parameter is optional and may be positive or negative, the default value is 1. For example, [loop start=1&end=7&advance=2][index][/loop] would loop 4 times using [index] values 1,3,5,7.|
|[index]||Displays the current index number between or including Start and End.|
|[break]||If the [loop] context sees the [break] tag while executing a loop, it will stop looping, once it finishes the current loop. Thus the [break] tag should only appear in a [showif] statement that is evaluated at the end (bottom) of the loop.|
DOWNLOAD WEBDNA NOW!
A list of all WebDNA instructions...Technical Change History
This Technical Change History provides a reverse chronological list of WebDNA changes...WebDNA Modules
A list of the currently available modules...WebDNA Libraries
A list of available libraries for WebDNA...F.A.Q
A compilation of some user's questions...Download WebDNA Applications
Enables the WebDNA programmer to compile and apply XSL style sheets to XML data...[lineitems]
Loops through all the line items in an order file...[username]
Using [password] and [username] is an easy was to show the browser login dialog box...[writefile]
[writefile] functions allows you to perform a wide variety of tasks...[freememory]
This context is used to iterate the attributes of a specific XML node...