Quote:Fatal error: Call to undefined method Core::Spot_info() in C:\AppServ\www\ts\application\controllers\main.php on line 26
function Spot_info() { $this->db->where('iduser', $this->id); $query = $this->db->get('spot'); if ($query->num_rows() > 0) { return $query; } else { return; } }