Re: [SMARTY] lists
| From: | Bertrand DUNOGIER | Date: | Wed, 04 Dec 2002 15:13:53 +0000 |
| Subject: | Re: [SMARTY] lists | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6633@lists.php.net to get a copy of this message | ||
CL> how do it get smarty not to output the semicolon after the last entry ?
Use a section instead of a foreach, and test {if not $smarty.section.name.last}
before you output the colon.
Bertrand