Anonymous 发表于 2013-6-10 15:16:18

改下你的主函数啊$this->db->query()//你这个反悔结果集是多条sql的
$this->db->row()//在写一个条查询不就好了~
function row($sql)
{
@$this->exe_sql($sql);
if(@mysql_num_rows($this->result)>0)
{
   @$rows=mysql_fetch_array($this->result);
   return $rows;
}
else
{
   return false;
}
}
页: 1 [2]
查看完整版本: 如何获取SQL查询结果?