Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $this->db->select('id, category, description, forumThread.id as threadID');
- $this->db->where('approved', 'yes');
- $this->db->join('forumThread', 'forumThread.fk_forumCategory = forumCategory.id');
- $loadCategory = $this->db->get('forumCategory');
- return $loadCategory->result();
Add Comment
Please, Sign In to add comment