Re: [SMARTY] for loop in template?

From: Date: Fri, 21 Mar 2003 15:56:24 +0000
Subject: Re: [SMARTY] for loop in template?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8812@lists.php.net to get a copy of this message
you can use an integer as a loop-value for {section} : {section name=i loop=12} {$smarty.section.i.index} {/section} HTH messju On Fri, Mar 21, 2003 at 04:48:14PM +0100, philippe.morange@ca-indosuez.com wrote: > Hi, > Simple question: > how would it be possible to use a For loop inside a template? > no {for} tag exists, so I'm wondering... > > ========================================================== > Ce message et ses pièces jointes (le "message") est destiné à l'usage > exclusif de son destinataire. > Si vous recevez ce message par erreur, merci d'en aviser immédiatement > l'expéditeur et de le > détruire ensuite. Le présent message pouvant être altéré à notre insu, Crédit > Agricole Indosuez > ne peut pas être engagé par son contenu. Tous droits réservés. > > This message and/or any attachments (the "message") is intended for the sole use of > its adressee. > If you are not the adressee, please immediately notify the sender and then destroy the message. > As > this message and/or any attachments may have been altered without our knowledge, its content > is > not legally binding on Crédit Agricole Indosuez. All rights reserved. > ========================================================== > > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Garbage-Collection: Der aktive Speicher erkennt und beseitigt automatisch WinXX-Codefragmente, bevor sie Schaden anrichten können. Holger Veit

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