+ -
当前位置:首页 → 问答吧 → smarty section

smarty section

时间:2011-09-25

来源:互联网

我想用section遍历一个我自定义类的数组 请问应该怎么操作呢

作者: richarddan6655   发布时间: 2011-09-25

{section name=index loop=$数组}
{$数组[index]} 
{/section}

更多内容请参考smarty手册。

作者: jordan102   发布时间: 2011-09-25