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.
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.