{foreach:variable,key,value}

{foreach:variable,key,value}

{foreach:variable,key,value} -- creates a PHP foreach loop

Synopsis

Usage ({foreach:variable,key,value}, {foreach:variable,value})

Description

creates a foreach loop, needs an {end:} tag. note that the engine will add the variable to the scope, so they will not be prefixed with $t-> when used inside the loop.

Parameter

Example