Changes
Title
unchanged
Insert data from database to another database table
Category
unchanged
Tutorials
Yii version
unchanged
Tags
unchanged
Insert, data, from, database, another, database, table
Content
changed
[...]
A simple way but writing a lot of code is using three nested for
- each table
- each row
- each columns (we could remove the last nested for, using agile code)
If you create the above algorithm using static code you have to modify the code each time you modify the database schema (tables or columns)[...]