I am trying to join two tables together using CodeIgniter. I used CodeIgniter user guide for help. I am having some issues where only one table\'s data is displayed and I d
function result_getall(){ $this->db->select('tblanswers.*,credentials.*'); $this->db->from('tblanswers'); $this->db->join('credentials', 'tblanswers.answerid = credentials.cid', 'left'); $query = $this->db->get(); return $query->result(); }