Hi Guys,
Firstly, is querying online databases from localhost/intranet servers possible?
Secondly, if it is could someone shed some light on how I would go about it....
Ideally a small part of the intranet system would just contain two sets of db connects:
$db1 = mysql_connect("onlinehostname", "username", "pass");
mysql_select_db("databasename", $db1);
$db2 = mysql_connect("offlinehostname", "username", "pass");
mysql_select_db("databasename", $db2);
but I'm guessing this is simple method is impossible.... is there a way to accomplish something similar? as I would like to be able to take parts of an online database into an offline one if they were approved...
Cheers 🙂