标签:
function get_one($where = array(),$select=‘*‘){ $this->db->select($select); if($where){ $this->db->where($where); } $this->db->limit(1); $query = $this->db->get(‘ych_sendreward‘); return $query->row_array(); }
ci codeigniter 查询 获取 一条数据 db select get row_array()
标签:
原文地址:http://www.cnblogs.com/shaoing/p/5545205.html