tags:

views:

28

answers:

2

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
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
I've never heared of the term **single array**,what do you mean?
yoyo
@yoyo `section` s can loop through nested arrays. `foreach` cannot.
Pekka