Answer the question
In order to leave comments, you need to log in
How to refer to linked CodeIgniter table?
There is such a connection
$this->db->select("*");
$this->db->from('shop_products');
$this->db->join('shop_products_lang', 'shop_products_lang.shop_products_id = shop_products.id', 'left');
return $this->db->get()->result();
$item->shop_products_lang->name
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question