After retrieving the values from a table using fetch function and putting it into $row[variable]
.
Is there a way store those values into another table?
After retrieving the values from a table using fetch function and putting it into $row[variable]
.
Is there a way store those values into another table?
Shure Simply use a "normal" INSERT Statement and insert your Data to a new table
mysql_query("INSERT INTO Persons (FirstName, LastName, Age)
VALUES ('$row[name]', 'row[surname]','$row[age]')");
You might want to iterate with a foreach / while over your incomming rose
Or directly use the loop from retrieving the data to insert them again somewhere else