title: Synchronize identical tables in separate databases with php
body: <p>I'm trying to set up a PHP script to read a handful of MySQL tables from database A and then insert them into databases B and C.  It's a really simple scenario - the tables being copied over can even be emptied or dropped before they have values inserted into them.  All the databases are on the same server, and I don't need to preserve the old data, just overwrite it.</p>
  
  <p>The only thing I can't do is table replication; my hosting setup doesn't permit it.</p>
  
  <p>I tried a few methods I came up with and read several questions and answers here on SO and elsewhere, but I'm not finding the answer - my question is probably too simple!  This is something that I would want to call from a cron job or manually, maybe once a day maximum.  It doesn't even have to be very efficient.</p>
  
  <p>Thanks, I appreciate any help you may have to offer - even links to previous questions with the answer would be great if my search mojo was weak.</p>
  
  <p>Frank</p>