max= with {foreach}

From: Date: Mon, 12 Aug 2002 14:14:24 +0000
Subject: max= with {foreach}
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5656@lists.php.net to get a copy of this message
Hi, Is it possible to use the 'max=x' tag with a foreach-loop? Or is there a walkaround? Something like: {foreach . max=5} . {/foreach} Or do I have to re-write my foreach into a section? Peter

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