Re: [SMARTY] assing the returned value of cycle.
| From: | Travis Low | Date: | Thu, 24 Jul 2003 13:47:11 +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-9956@lists.php.net to get a copy of this message | ||
Try taking out the "assign" attribute and just using "{cycle}" instead of "{$bgcolor}"
cheers,
Travis
Florian Winkler wrote:
Hi All ;) , the code which doesn't work how I want it to work is here : {section name=i loop=$daten} {cycle values="#DFDFDF,#CECECE" assign=$bgcolor} <td bgcolor="{$bgcolor}">hello</td> {/section} What am I doing wrong ? thanks in advance greetz fLo _________________________________________________________________ Fotos - MSN Fotos das virtuelle Fotoalbum. Allen Freunden zeigen oder einfach online entwickeln lassen: http://photos.msn.de/support/worldwide.aspx-- Travis Low <mailto:travis@dawnstar.com> <http://www.dawnstar.com>