刚有网友问积分调用方法
这个必须要用到sql,dz默认无法分类调用的。
我给大家写一个调用方法吧
调用分类积分1写法
<!–{eval $usermoney = DB::fetch_first(“SELECT `extcredits1` FROM “.DB::table(‘common_member_count’).” WHERE uid=$_G[uid]”);}–> $usermoney[extcredits1]
调用积分分类二写法
<!–{eval $usermoney = DB::fetch_first(“SELECT `extcredits2` FROM “.DB::table(‘common_member_count’).” WHERE uid=$_G[uid]”);}–> $usermoney[extcredits2]