I would name the tables teh exact same things in both databases.
Then, instead of using mysql_query(), I'd write my own wrapper function, say dbl_mysql_query().
Everytime I needed to do an insert or an update that needs to be done to BOTH databases, I'd use the wrapper function instead of mysql_query ().
The wrapper function would simply make two different mysql_query() calls, one to database one, and one to database two, thus updating both databases with one function call.
Alternatively, you could write a dump and load script in your language of choice, and crontab it to run every hour.