Automatically Running Script

Hi all,

I’m very much new to this framework.I’m developing a small web app it has two tables.i need to iterate through each row of the 1st table at each time app runs.then make some calculations using that data and update the second table.

I’m confused weather to use controllers,components or any other feature and how.I hope someone help me soon.

Thank you

Please go through on it.

http://www.yiiframework.com/doc/guide/1.1/en/quickstart.first-app

Thank you Selim