1. 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?

Discussion in 'XenForo Development Discussions' started by Lu Jia, May 24, 2011.

  1. Lu Jia

    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>
  2. ragtek

    ragtek Guest

    search for
    in the templates to see examples;)
  3. Lu Jia

    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

Share This Page