PHP MySQL - Save query results to table when don't know exact number of records
Posted on 2009-04-16
How can I write a MySQL query (using PHP), that automatically saves the results to a different table? I am a beginner at this, and although it seems like I should know how, I can't figure it out. What confuses me is that each time you run the query, you will get a different number of records. So you may get 1 record and then the next time the query is run you may get 1000 records.
Can anyone point me in the right direction here?