|  | 
 
| 本帖最后由 intant 于 2010-7-7 12:03 编辑 
 请教一下:ci的db操作问题
 
 
 $data = $this->db->get($this->table, 10, 20);//这里获取到的单条数据都是对象?
 
 $data得到的内容如下:
 
 Array (
 [0] => stdClass Object ( [uid] => 21 [username] => yingqiu [password] => 339779c0104e56c194ad2437b58be3b9 )
 [1] => stdClass Object ( [uid] => 22 [username] => mxsn2008 [password] => 08f34c5d7763afca9bc69a4b5083924b )
 )
 有办法直接获取数组而不是'stdClass'对象吗?
 | 
 |