Forums / Developer / How can this php code in template code ?! / Comment38483
Paul Forsyth
Thursday 31 July 2003 4:47:36 am
Would this do? A bit mangled but it should give you the basic if-then-else structure.
Dots used for indentation...
{section show=mod($a,2)} .....{section show=mod($a,4)}..........{section show=mod($a,6)}
..........{section-else}
..........{/section}
.....{section-else}
.....{/section}
{section-else}
{/section}