但是要怎样遍历这个方法产生的二叉树数组呢?以下是我的做法:
复制代码 代码如下:
function preTree($cat){
foreach ($cat as $c){
?>
=$c['poper']?>:=t($c['content'])?>
}
}
?>
Statement: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