• 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
#1
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>
 

Lu Jia

Active member
#3
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