当前位置: 代码迷 >> PHP >> smarty 如何在模板上循环遍历输出三维数据?
  详细解决方案

smarty 如何在模板上循环遍历输出三维数据?

热度:869   发布时间:2013-08-26 12:17:40.0
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] =>