[eluser]mi6crazyheart[/eluser]
Hey, the model function name at here(above given code) is "getList()" but from u'r controller u r calling model function "list()"
Controller code:
Code:
function index()
{
$this->load->model(‘Member’);
$data[‘list’] = $this->Member->list();
$main[‘content’] = $this->load->view($this->folder.‘index’, $data, true);
$this->load->view($this->folder.‘layout’, $main);
}
Any way, if that was just a writing mistake then use this following code in u'r model file to extract the members list & tell me what's showing.
Code:
function getList()
{
$query = $this->db->get('members');
return $query->result();
}