Re: [SMARTY] foreach vs. section
| From: | Jason Sweat | Date: | Wed, 14 Aug 2002 16:23:45 +0000 |
| Subject: | Re: [SMARTY] foreach vs. section | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-5710@lists.php.net to get a copy of this message | ||
This is more of a question of usage. If you are
working with an array indexed sequentially from 0,
section is probably best.
for an assosiative (key => value) array, foreach will
work.
HTH
Regards.
Jason
>>
What is faster/needs less resources? foreach or
section?
Thanks,
Bostjan
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com