Can someone provide an example that make it clear?
+1
A:
You may take a look at the documentation which explains the differences and provides examples.
Darin Dimitrov
2010-10-27 09:18:01
A:
From the manual:
the syntax for {foreach} is much easier than {section}, but as a tradeoff it can only be used for a single array.
Pekka
2010-10-27 09:18:26
I've never heared of the term **single array**,what do you mean?
yoyo
2010-10-29 01:37:08
@yoyo `section` s can loop through nested arrays. `foreach` cannot.
Pekka
2010-10-29 07:08:27