+ -
当前位置:首页 → 问答吧 → smarty模板里的section是怎么工作的?

smarty模板里的section是怎么工作的?

时间:2010-01-12

来源:互联网

smarty模板里的section是怎么工作的?

作者: 九剑   发布时间: 2010-01-12

{section name=customer loop=$custid}
    id: {$custid[customer]}<br>
{/section}
循环数组,可输出数组$custid里的变量customer值

作者: hu8868   发布时间: 2010-01-12