problem with refresh data

#16
[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();
}


Messages In This Thread
problem with refresh data - by El Forum - 08-21-2010, 09:39 AM
problem with refresh data - by El Forum - 08-21-2010, 01:46 PM
problem with refresh data - by El Forum - 08-22-2010, 08:28 AM
problem with refresh data - by El Forum - 08-22-2010, 10:02 AM
problem with refresh data - by El Forum - 08-22-2010, 11:04 AM
problem with refresh data - by El Forum - 08-22-2010, 12:46 PM
problem with refresh data - by El Forum - 08-23-2010, 12:39 AM
problem with refresh data - by El Forum - 08-24-2010, 12:07 AM
problem with refresh data - by El Forum - 08-25-2010, 12:06 PM
problem with refresh data - by El Forum - 08-25-2010, 01:01 PM
problem with refresh data - by El Forum - 08-26-2010, 12:40 AM
problem with refresh data - by El Forum - 08-26-2010, 03:10 AM
problem with refresh data - by El Forum - 08-26-2010, 11:41 PM
problem with refresh data - by El Forum - 08-27-2010, 05:53 AM
problem with refresh data - by El Forum - 08-27-2010, 09:34 AM
problem with refresh data - by El Forum - 08-27-2010, 11:16 AM
problem with refresh data - by El Forum - 08-31-2010, 11:46 AM
problem with refresh data - by El Forum - 08-31-2010, 02:27 PM
problem with refresh data - by El Forum - 08-31-2010, 07:41 PM
problem with refresh data - by El Forum - 09-02-2010, 04:54 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.