• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

<xen:for> is it possible?

Lu Jia

Active member
How is it possible to output in a template the php
for ($x = 0; $x < count($value); $x++) {
Because I can't do it with <xen:foreach>

Lu Jia

Active member
I found the way to do it ^^' you can close this thread.
If someone need the way to do it just use this 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 />';
I can use an array of an array in this way :D