smarty兑现FOR循环标签

smarty实现FOR循环标签smarty 没有FOR标签。可以使用section标签代替。?如:{section nameloop loop$count}

smarty实现FOR循环标签

smarty 没有FOR标签。可以使用section标签代替。

?

如:

{section name=loop loop=$count}?

id: {$smarty.section.loop.index}?

{/section}?