<xen:for> is it possible?

Lu Jia

Active member
How is it possible to output in a template the php
PHP:
for ($x = 0; $x < count($value); $x++) {
code
}
?
Because I can't do it with <xen:foreach>
 
I found the way to do it ^^' you can close this thread.
If someone need the way to do it just use this code:

Code:
<xen:foreach loop="$sql_group_all" value="$each_item">
Nome {$each_item.name} <br />';
Nome {$each_item.tag} <br />';
Nome {$each_item.alias} <br />';
</xen:foreach>

I can use an array of an array in this way :D
 
Top Bottom