foreach支持几重循环啊?

浏览:1811 发布日期:2013/07/22 分类:求助交流
     <volist name="alist" id="first">
        <option value={$first['id']}>{$first['deptname']}</option>
            <volist name="first.child" id="second">
            <option  value={$second['id']}>{$first['deptname']}-{$second['deptname']}</option>
                <volist name="second.child" id="third">
                <option  value={$third['id']}>{$first['deptname']}-{$second['deptname']}-{$third['deptname']}</option>
                    <volist name="third.child" id="forth">
                        <option  value={$forth['id']}>{$forth['deptname']}</option>
                    </volist>
                </volist>
            </volist>
    </volist>
怎么到第四层就输出不了了。。。
最佳答案
评论( 相关
后面还有条评论,点击查看>>