2
Smarty section start loop
Smarty section start loop: First result, second result, first and second result
//First Result
{section name="articles" loop=1 start=0}
{$articles[articles].title}
{/section}
//First and Second Result
{section name="articles" loop=2 start=0}
{$articles[articles].title}
{/section}
//Second Result
{section name="articles" loop=2 start=1}
{$articles[articles].title}
{/section}
rated 2 times
(2)
(0)
comments: 1 / hits: 2522
/ 4 years ago, fri, feb 10, 17, 12:02:07
More From
» PHP
Comments
There are no comments for this Snippet yet
Only authorized users can post. Please sign in first, or register a free account