vlibTemplate

vLib Logo

6.11. addRow()

Function Description
 addRow(array row [, loopname])

addRow() is the 2nd part of the 3 stage method to add a loop, used instead of the complicated setLoop() function. This function assigns a row to the loop specified by loopname. If loopname is not specified then the last loop set using newLoop() is assumed .
The array must be a single dimensional array. If it has key associations the those associations will be used as the variable names within the loop, other wise the variables will be called; _0, _1, _2, _3 ...etc.

Please see the <TMPL_LOOP> section for information on how to build a loop.