Псевдопример 1:
Код: Выделить всё
$query = $this->db->get('table1');
$query = $this->db->get('table2');
$query = $this->db->get('table3');
return $query->result();
Код: Выделить всё
$this->db->select('*');
$this->db->from('table1', 'table2', 'table3');
$query = $this->db->get();
return $query->result();
Подробнее здесь: https://stackoverflow.com/questions/536 ... -codeignit
Мобильная версия