Re: [SMARTY] Smarty support mod operator? Follow up

Urb LeJeune <[email protected]> Tue, 17 Oct 2006 10:42:59 -0400
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
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
>
>

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php