updating a table by getting data from another table

I want to update a table by getting data from another table.

For that what all should i do?

what all changes needed to get the correct output?

Hi

you have submit from and in for action give where you have to fetch data (controllerName/ action Name).

here you have get all data than pass it attribute than save.

Thanks

Thanks for ur reply…

But will u give me a n example on this case to update a table column by getting value from another table.

[color="#006400"]/* Moved from Yii 1.0 to Yii 1.1 help forum */[/color]