Код: Выделить всё
$this->db->select('places.*, category.*')
->from('places')
->join('category', 'places.category_id = category.category_id')
->join('places_reviews', 'places_reviews.place_id = places.id')
->where('places.category_id', $category_id)
->limit($limit, $offset)
->order_by($sort_by, $sort_order);
Подробнее здесь: https://stackoverflow.com/questions/594 ... th-codeign
Мобильная версия