获取所有分区
获取分区下的板块
- $forums = DB::fetch_all("SELECT fid,name FROM ".DB::table('forum_forum')." where type = 'group' and status = 1");
获取分区下的板块
- foreach($forums as $v) {
- $forums[$v['fid']]['forum'] = DB::fetch_all("SELECT fid,name FROM ".DB::table('forum')." where fup=".v['fid']." and status = 1");
- }
版权声明
本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。
评论