Lu Jia Active member May 24, 2011 #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>
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 May 24, 2011 #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
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