title: Network PHP mySQL Application
body: <p>I've built an application with php mysql ,  and now i need it to also be accessed from other place (outside the network) both places of course will have the access to the internet . 
  How can i share the database . i can install xampp on both networks , but the important thing is the database to be shared (synchronized). am using :</p>
  
  <pre><code>$host='192.168.2.100'; // host of the server
  $user='root';
  $pass='root';
  mysql_connect($host,$user,$pass)
  
  $db='my_db';
  mysql_select_db($db);
  </code></pre>