Пример:
Код: Выделить всё
$this->db->select('idee_id, titel, omschrijving, type, top_idee, tbl_users.foto as user_foto');
$this->db->from('tbl_idee');
$this->db->join('tbl_types', 'tbl_idee.type_id = tbl_types.type_id');
$this->db->join('tbl_users', 'tbl_idee.user_id = tbl_users.user_id');
$this->db->join('tbl_comments', 'tbl_users.user_id = tbl_comments.user_id');
$this->db->order_by('post_datum', 'DESC');
$this->db->limit(10);
$q = $this->db->get();
Как я могу это исправить? С SELECT в SELECT?
Подробнее здесь: https://stackoverflow.com/questions/987 ... ed-table-u
Мобильная версия