It's unclear from your question what 'remote' has to do with it. If your php script can login to the mysql database, you can just issue a 'create table...' query that looks the same regardless of whether the dbms and the webserver are on the same machine or across the world from each other. Or am I misunderstanding your question?