Re: [SMARTY] foreach loops or section loops?

From: Date: Tue, 09 Sep 2003 23:07:19 +0000
Subject: Re: [SMARTY] foreach loops or section loops?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10184@lists.php.net to get a copy of this message
On Mon, 2003-09-08 at 21:09, John wrote: > I am making a app where i could use either foreach or section loops (I guess > any situation you can). Which one is more efficent and/or better to work > with? >From my understanding, foreach is better with associative arrays since you can assign the key/value pair. Section loops are better with normal integer indexed arrays. --Ajay

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