[eluser]jeanel16[/eluser]
I want to display all my data from the database into my website.
here is my code in my model:
$this->db->select('*')->from('msgdb');
$query = $this->db->get();
return $query->result();
and onto my controller:
$this->load->model('inboxmsgmodel');
$data['inbox'] = $this->inboxmsgmodel->inboxview();
$this->load->view('inboxmsgview', $data);
and in my view:
i dont know what to put xD help pls