function getInfo()
{
$this->db->select();
$this->db->from('tbl_info');
$this->db->where('id', 1);
$query = $this->db->get();
return $query->result();
}
function editInfo($data)
{
$this->db->where('id', 1);
$this->db->update('tbl_info', $data); // the error refers to the given line of code
return TRUE;
}