This tutorial shows how to use a model to save and validate related (MANY_MANY) models.
This tutorial shows how to use a model to save and validate related (MANY_MANY) models.
Suppose you have an Application in Yii that manages hotels each one has many customers.
Suppose you want to have a list in Category with its related products and you want to updates the list (removing or insert product items) This wiki show us how to do that
CGridview displays existent rows of the table (using DataProvider)
In this wiki I will show you how to save/update a model with many related model For example: How to set a product to multiple categories only in one post form ?