FAQ: simple loop

From: Date: Mon, 01 Mar 2004 10:56:17 +0000
Subject: FAQ: simple loop
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-11035@lists.php.net to get a copy of this message
Hello, this is what the faq says about doing a simpe for-loop: === {section name="myLoop" start=0 loop=5} index={$smarty.section.myLoop.index} {/section} This will output: index=0 index=1 index=2 index=3 index=4 index=5 === When I try it, the latest element that is printed is index=4. Is this an error in the faq or in smarty? - david

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