smarty section我想用section遍历一个我自定义类的数组 请问应该怎么操作呢[解决办法]{section nameindex
smarty section
我想用section遍历一个我自定义类的数组 请问应该怎么操作呢
[解决办法]
{section name=index loop=$数组}
{$数组[index]}
{/section}
更多内容请参考smarty手册。
smarty section
我想用section遍历一个我自定义类的数组 请问应该怎么操作呢
[解决办法]
{section name=index loop=$数组}
{$数组[index]}
{/section}
更多内容请参考smarty手册。