Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Relational Active Record

$
0
0
Hy i have some issues with relational active record for CRUD. The relation was build automatically by Gii
My tabels are Products , Subcategories and a third table with id_product, id_subcategory the relation daclared in product is HAS_MANY. But i don't know how can i list and save this datas?
When i try list "subcatecories" in products i receive a error because id_subcategory its undefined in products.

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>