Re: [PHPTAL] Re: [multi dimension array] problem with repeat

2009-02-23 Thread Kornel LesiƄski
On 23.02.2009, at 17:40, Majkel wrote: I want to get a key of item and than use it it the loop as index of different arrays. When you loop "examplevariable" (as in tal:repeat="examplevariable examplearray"), then expression: repeat/examplevariable/key or php:repeat.examplevariable.key

[PHPTAL] Re: [multi dimension array] problem with repeat

2009-02-23 Thread Majkel
I want to get a key of item and than use it it the loop as index of different arrays. Greetings Majkel ___ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal

[PHPTAL] Re: [multi dimension array] problem with repeat

2009-02-23 Thread Majkel
Sure your solution seems to be more natural. I am new to PHPTAL, and I am wondering to migrate to PHPTAL from SMARTY. I am curious about this situation whether it is possible to handle such a situation with PHPTAL. ___ PHPTAL mailing list PHPTAL@li