|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
andrewrn Smarty n00b
Joined: 02 Jan 2004 Posts: 1
|
Posted: Fri Jan 02, 2004 7:05 pm Post subject: Sections in an Array... Difference between to values |
|
|
I'm using Smarty in a variety of websites and want to try extending one of them.
I have a list of pages grouped into sections. I want to put a marker between the different groups, but can't work out how. This is what i've got so far and i'm getting errors:
{section name=loopindex loop=$rowno}
rest of the code is here... then at the end of each section i want this:
{if $rowno[loopindex].type eq $rowno[loopindex.1].type} <tr><td colspan=4><hr></td></tr> {/if}
{/section} _________________ ooooooh... Can we keep it? |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|