Using PHP to copy tables from one Mysql DB to another

Does one of the to users have rights to do SELECT queries on the tables in the source database and INSERT queries in the destination database? If so have PHP use that user to copy the data across, but running the query against the destination database.

Thread moved to the Databases forum