Help And Documentation

2: Object Reference

2.15: The Loop Object

A Loop object is used to show or execute the same content or objects multiple times using either a set number of iterations, a Data Comparison object to know when to stop, a set of data from a Database Query object, array data or CSV file data.

It does not contain any formatting values like when using a Table object to loop over a set of data from a Database Query object or an array.

The example below adds a Loop object, and sets the Data Query object to select all users from the users table. The Loop object will loop through each user, and output the content, which is a <h2> tag containing the username

Next Page » « Previous Page