Re: [SMARTY] cycle

From: Date: Sat, 23 Nov 2002 13:12:03 +0000
Subject: Re: [SMARTY] cycle
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6525@lists.php.net to get a copy of this message
Here is what I do -> {cycle values="#000000 #ffffff" print=false advance=false} {foreach ....} {cycle}
    ....
{cycle} {/foreach} 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
-- Gerard Samuel http://www.trini0.org:81/ http://dev.trini0.org:81/

« previous php.smarty.general (#6525) next »