Discuz代码片段

    public function getintegration($userid)
    {
        $sql = "SELECT * FROM %t WHERE userid=%d"; 
       //print_r(DB::format($sql, array($this->_table, $userid)));exit();
        return DB::fetch_first($sql, array($this->_table, $userid));
         
    }

猜你喜欢

转载自www.cnblogs.com/bycnboy/p/9078314.html