Home > Backend Development > PHP Tutorial > 为何递归不起作用? 郁闷了

为何递归不起作用? 郁闷了

WBOY
Release: 2016-06-13 12:34:50
Original
915 people have browsed it

为什么递归不起作用? 郁闷了

<br>
Array<br>
(<br>
    [0] => Array<br>
        (<br>
            [0] => 1<br>
            [catid] => 1<br>
            [1] => 0<br>
            [parentid] => 0<br>
            [2] => 关于我们<br>
            [catname] => 关于我们<br>
            [3] => 4<br>
            [listorder] => 4<br>
            [4] => 0<br>
            [items] => 0<br>
            [5] => 1<br>
            [type] => 1<br>
            [child] => Array<br>
                (<br>
                    [0] => Array<br>
                        (<br>
                            [0] => 2<br>
                            [catid] => 2<br>
                            [1] => 1<br>
                            [parentid] => 1<br>
                            [2] => 关于我们<br>
                            [catname] => 关于我们<br>
                            [3] => 1<br>
                            [listorder] => 1<br>
                            [4] => 0<br>
                            [items] => 0<br>
                            [5] => 1<br>
                            [type] => 1<br>
                        )<br>
<br>
                    [1] => Array<br>
                        (<br>
                            [0] => 3<br>
                            [catid] => 3<br>
                            [1] => 1<br>
                            [parentid] => 1<br>
                            [2] => 公司荣誉<br>
                            [catname] => 公司荣誉<br>
                            [3] => 2 <div class="clear">
                 
              
              
        
            </div>
Copy after login
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