@
mhycy $query = DB::query("SELECT * FROM " . DB::table('forum_forum') . " WHERE type='group' and status=1 ORDER BY fid ASC");
$ar=array();
while ($soft = DB::fetch($query)) {
$querys = DB::query("SELECT * FROM " . DB::table('forum_forum') . " WHERE fup=".$soft['fid']." and status=1 ORDER BY fid ASC");
while ($softs = DB::fetch($querys)) {
$queryss = DB::query("SELECT * FROM " . DB::table('forum_forumfield') . " WHERE fid=".$softs['fid']." ORDER BY fid ASC");
while ($softss = DB::fetch($queryss)) {
$ar[] = array("fupdz"=>$soft['fid'],"data"=>array(array("id"=>$softs['fid'],"fup"=>$softs['fup'],"name"=>iconv('gb2312','utf-8',$softs['name']),"px"=>$softs['displayorder'],"icon"=>$softss['icon'])));
}
}
}
如何添加你刚发的那个 这是源代码