Comparing section index to last
| From: | Ron Dyck | Date: | Mon, 29 Apr 2002 15:57:49 +0000 |
| Subject: | Comparing section index to last | ||
| References: | 1 2 3 4 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3926@lists.php.net to get a copy of this message | ||
I seem to get wrong results when attempting the following:
{if $smarty.section.catid.index == $smarty.section.catid.last}
"do this"
{/if}
"do this" will show up on the first and last time through the loop.
ron