摘要:
function ad(){ $res=DB::table("category")->get(); $res= json_encode($res); $res= json_decode($res,1); $arr= $this->gettree($res,0); var_dump($arr);} f 阅读全文
posted @ 2019-07-16 15:33
php毛宏历的博客
阅读(298)
评论(0)
推荐(0)
摘要:
<?phpclass db{ public $table=null; public $pdo; public $where=null; //where 条件 public $field=null; //要查询的条件 public function __construct() { $this->pdo 阅读全文
posted @ 2019-07-16 10:08
php毛宏历的博客
阅读(608)
评论(0)
推荐(0)

浙公网安备 33010602011771号