smarty如何在模板上循环遍历输出三维数据?
时间:2021-07-01 10:21:17
帮助过:7人阅读
smarty 怎么在模板上循环遍历输出三维数据???
这个从php传过来的数组结构。
Array
(
[0] => Array
(
[0] => Array
(
[id] => 15
[pid] => 0-2-11
[name] => 女装
[href] =>
[date] =>
)
[1] => Array
(
[id] => 18
[pid] => 0-2-11
[name] => 衬衣
[href] =>
[date] =>
)
[2] => Array
(
[id] => 40
[pid] => 0-2-11
[name] => www
[href] =>