I am new to Yii. I need to save data collected from a single form to three different tables.
So my doubts are
-
How can I design the Model class (CformModel or CActiveRecord)??
-
How to design the view??
-
In Controller how can I save the data to different tables??
I need to manually validate some vales like md5 hash etc
you need to create three models. And use according model fields and save all three models.
In Yii one table – one model.