Код: Выделить всё
$this->db->select('*');
$this->db->from('enduser');
$this->db->where('groupid', $id);
$this->db->join('group', 'group.groupid = enduser.groupid');
$query = $this->db->get();
Столбец «groupid» в предложении where неоднозначен
Подробнее здесь: https://stackoverflow.com/questions/361 ... ith-an-ide
Мобильная версия