Re: [SMARTY] cycle
| From: | Monte Ohrt | Date: | Sat, 23 Nov 2002 18:41:21 +0000 |
| Subject: | Re: [SMARTY] cycle | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6526@lists.php.net to get a copy of this message | ||
yes, give them different names.
{foreach ...}
{cycle name="A" values=#config_val1#}
{cycle name="B" values=#config_val2#}
{/foreach}
On Sat, 2002-11-23 at 05:34, Nino Katic wrote:
> Hi,
>
> Is it possible to use {cycle} with 2 different values under the same loop?
> So for example to have:
>
> {foreach ...}
> {cycle values=#config_val1#}
> .....
> {cycle values =#config_val2#}
> {/foreach}
>
> Thx.
>
> Nino
--
Monte Ohrt <monte@ispi.net>