lets say i have two table,table1 which contains name and age while another table2 which also has name and age.
I would enter data into table1 then i would insert all the data from table1 into table2. Need experts here to help me with the part where i would transfer data from table1 to table2 with mysql in php~~
i could display all my data from table1
$count = 0;
while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) {
foreach ($line as $col_value) {
echo "\t\t<td>$col_value</td>\n";
}
$count++;
}
any help would be appreciated~~