Helping ordinary people create extraordinary websites!


flexy:foreach="variable,key,value"

flexy:foreach="variable,key,value" -- creates a PHP foreach loop using a html attribute

Description

creates a foreach loop, around the tag and close tag.

Parameter

  • string variable - relates to $object->variable

  • string key - creates a variable 'key' in the current scope.

  • string value - optionally creates a variable 'value' in the current scope. (as in $key=>$value)