ecshop中{section name=cat loop=$array1}什么意思
4 回答
杨魅力
TA贡献1811条经验 获得超6个赞
$people = array('tony','sweety','abc','four');
$smarty->assign('people',$people); {section name=n loop=$people}
name:{$people[n]}<br/>
{/section}效果:name:tony
name:sweety
name:abc
name:four
- 4 回答
- 0 关注
- 856 浏览
添加回答
举报
0/150
提交
取消