title: How to copy a Database from one server to another server in PHP?
body: <p>I have a Database in Local server named 'empData' and i want that all the data from that database to be copied to another Database, which is in the another server(web server) with the name 'empDataBackup'. 
  I have tried this code <code>mysql_query("INSERT INTO empData.backup_emp SELECT * FROM empData.emp");
  </code>
  But it did not work as both the databases are not in the same server...(as in our case one is in local and another is in web server)..
  please help.. </p>