title: how to sync two tables from two different databases from two different servers- in PHP SQLI
body: <p>I have a database on another server. I want to get the data from another server and post it on my server (without duplicate on ID number).</p>
  
  <p>How to do this as auto sync or manually in PHP.</p>
  
  <p>Structure is given below:</p>
  
  <pre><code>SERVER1          |    SERVER2
  db1              |    db1
  __________________________________
  db1.emp          |    db1.emp
  __________________________________
  phone_no         |    phone_no
  emp_email        |    emp_email
  home_address     |    home_address
  </code></pre>