DroidHost
Well-known member
I want to use foreach statment but my mind is locked for now
so I want some help here
I have an array
I want the template to enter a loop and fill the variable with diff value
Somethins like
___
in the template if I am correct which I don't
so I want some help here
I have an array
I want the template to enter a loop and fill the variable with diff value
Somethins like
PHP:
array (data=>array( 'names' => array('ali ','james')))
in the template if I am correct which I don't
Code:
<xen:foreach loop="$names" value="$name">
{$name}
</xen:foreach>