摘要: <?php/** +---------------------------------------------------------- * 分类树 +---------------------------------------------------------- */function list_to_tree($list, $pk='id',$pid = 'pid',$child = '_child',$root=0){ // 创建Tree $tree = array(); if(is_array($list)) { // 创建基于主 阅读全文
posted @ 2012-06-21 11:07 ﹏Sakura 阅读(591) 评论(0) 推荐(0) 编辑