Re: [SMARTY] Smarty support mod operator? Follow up
| From: | Urb LeJeune | Date: | Tue, 17 Oct 2006 14:42:59 +0000 |
| Subject: | Re: [SMARTY] Smarty support mod operator? Follow up | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-13517@lists.php.net to get a copy of this message | ||
I'm building a table and after every third <td> I want to start a
new row.
This works:
{if $smarty.section.Photos.iteration % 3 == 0}</tr>
<tr>{/if}
Urb
. Urb -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php