public function find_one($sql) { $query = $this->query($sql); if (!$query) { return $query; } // 如果结果为空,返回 FALSE return mysql_fetch_assoc($query); }