本文实例讲述了php无限级分类实现方法。分享给大家供大家参考,具体如下:
1. 递归 public function getinfo(){
$data=$this->select();
$arr=$this->nolimit($data,$f_id=0,$level=0);
return $arr;
}
//无限极分类
public function nolimit($data,$f_id=0,$level=0){
stati
如下是php.ini中的原文说明以及默认配置: ; open_basedir, if set, limits all file operations to the defined directory ; and below. this directive makes most sense if used in a per-directory or ; per-virtualhost web server configuration file. this directive i