you can use the following query:
INSERT INTO DB1.table1 (fieldlist) SELECT fieldlist FROM DB2.table2
From a php view you only need to mysql_connect, and you can skip the mysql_select_db
Reputation Points: 556
Solved Threads: 732
Bite my shiny metal ass!
Offline 4,196 posts
since Jul 2006