Réf. : [SMARTY] Accessing loop-variable in a { section }

From: Date: Fri, 14 Mar 2003 13:35:32 +0000
Subject: Réf. : [SMARTY] Accessing loop-variable in a { section }
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8648@lists.php.net to get a copy of this message
Do you want to know the current index? Then you should do $smarty.section.sec.index "Ronny 'Ronino' Multrus" <linux@ronino.de> le 14/03/2003 14:06:52 Pour : smarty-general@lists.php.net cc : (ccc : Philippe MORANGE/EST/DOSI/BANQUE_INDOSUEZ/FR) Objet : [SMARTY] Accessing loop-variable in a {section} Hello, is it somehow possible to access the loop-variable in a section other than like $something[currLoop]? I got something like {section name="sec" loop=3} ... {/section} and I need to know the current value of the loop-Variable. Something like $sec doesn't work. thx Ronino -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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