本文实例讲述了smarty的section嵌套循环用法。分享给大家供大家参考,具体如下:
rush:PHP;">
{section name="sec1" loop=$typeList}
数量:{$typeList[sec1].shop[sec2].num} 个
{$typeList[sec1].typeName} |