I followed this link for Yii multimodel and now I can insert data successfully in two different models. But my problem is now how can I update the data?How to render the both models in a single page for update process.The document provided in that link is only for insert data.So how to update data in that?
Share
In Yii insert and Update follows nearly same syntax. So it should be possible to use same code with little modifications. try this
the partial view used for update and insert views is a single file
_form.php. so it should render the update view properly.