<? system ("mysqldump -u from_username_from -pfrom_password -h from_host from_db from_table | mysql -u to_user -pto_pass -h to_host to_db_name"); ?>