RE: [SMARTY] assing the returned value of cycle.

From: Date: Thu, 24 Jul 2003 13:49:56 +0000
Subject: RE: [SMARTY] assing the returned value of cycle.
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9957@lists.php.net to get a copy of this message
> {cycle values="#DFDFDF,#CECECE" assign=$bgcolor} Try {cycle values="#DFDFDF,#CECECE" assign="bgcolor"} assign generally takes the name of the variable to create. In your original, it's looking for a Smarty variable called $bgcolor to provide the name of the variable... Scott

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