$result = dbquery("SELECT <your columns> FROM <your old table>");
if (dbrows($result)) :
while ($data = dbarray($result) :
$new_insert_data = array(
'<new data column name>' => $data[<your old column name>],
'<new data column name>' => $data[<your old column name>],
'<new data column name>' => $data[<your old column name>],
'<new data column name>' => $data[<your old column name>],
'<new data column name>' => $data[<your old column name>],
'<new data column name>' => $data[<your old column name>],
'<new data column name>' => $data[<your old column name>],
'<new data column name>' => $data[<your old column name>],
'<new data column name>' => $data[<your old column name>],
);
print_p($new_insert_data);
//dbquery_insert(<your new table>, $new_insert_data, 'save');
endwhile;
endif;
Category Forum
Modifications and Requests - 9Labels
None yet
Statistics
2 participants
Notifications
You are not receiving notifications from this thread.
Related Questions