_t">
时间:2021-07-01 10:21:17 帮助过:20人阅读
$s="%".addcslashes($uid, '%_')."%";return DB::fetch_all('select * from %t where uid like %s limit %d,%d',array($this->_table,$s,$start,$perpage));
$s="%".addcslashes($uid, '%_')."%";
return DB::fetch_all('select * from %t where uid like %s order by id desc limit %d,%d',array($this->_table,$s,$start,$perpage));
order by id desc
$s="%".addcslashes($uid, '%_')."%";
return DB::fetch_all('select * from %t where uid like %s order by id desc limit %d,%d',array($this->_table,$s,$start,$perpage));
$s="%".addcslashes($uid, '%_')."%";
return DB::fetch_all('select * from %t where uid like %s and uid>1 order by id desc limit %d,%d',array($this->_table,$s,$start,$perpage));
$s="%".addcslashes($uid, '%_')."%";
return DB::fetch_all('select * from %t where uid like %s and uid>1 order by id desc limit %d,%d',array($this->_table,$s,$start,$perpage));
$s="%".addcslashes($uid, '%_')."%";
return DB::fetch_all('select * from %t where uid like %s and uid>1 and time+86400*day>STAMP order by id desc limit %d,%d',array($this->_table,$s,$start,$perpage));
$s="%".addcslashes($uid, '%_')."%";
return DB::fetch_all('select * from %t where uid like %s and uid>1 and time+86400*day>STAMP order by id desc limit %d,%d',array($this->_table,$s,$start,$perpage));