duanre1891 2012-05-08 11:50
浏览 43

Template lite - 递增变量

is it possible in html side increase a variable ?

i mean

{$i++} in template lite does not work

What i want is that if i is multiple of four , it must add a <li></li>

 {foreach from=$books value=book}

 {/foreach}
  • 写回答

0条回答 默认 最新

    报告相同问题?