Home > Backend Development > PHP Tutorial > smarty 如何在模板上循环遍历输出三维数据?

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

WBOY
Release: 2016-06-13 12:39:48
Original
883 people have browsed it

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] => 

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template