Retrieve data, add new fields and enter it in new table
| From: | Justin dot Baiocchi at csiro dot au | Date: | Tue, 22 Jun 2004 02:06:41 +0000 |
| Subject: | Retrieve data, add new fields and enter it in new table | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-34857@lists.php.net to get a copy of this message | ||
Hi,
I am trying to do the following:
- retrieve data from a table based on the $id field (easy enough)
- add a few more fields to the data set, then
- enter the data (and new fields) into a new table (based on the
selected $id field)
I'm just not sure how to structure this, do I use a temporary table, add
the new fields, then move the data set into the target table?
Or is there a better way?
Thanks
Justin