This is kind of half a PHP question and half a MySQL question.
I have 2 servers, both have information that is related to each.
Through PHP I would like run a query that will find matching data i.e. Inner Join
Can someone point me in the right direction of how this may be done, as I have only ever connected using something like the following code.
$db = mysql_connect("servername", "password"
;
mysql_select_db("databasename",$db);
$result = mysql_query("Select......",$db);
This only allows me to select tables from one database on one server.
I hope I am clear in explaining myself.
Thanking in advance for any help received
I have 2 servers, both have information that is related to each.
Through PHP I would like run a query that will find matching data i.e. Inner Join
Can someone point me in the right direction of how this may be done, as I have only ever connected using something like the following code.
$db = mysql_connect("servername", "password"
mysql_select_db("databasename",$db);
$result = mysql_query("Select......",$db);
This only allows me to select tables from one database on one server.
I hope I am clear in explaining myself.
Thanking in advance for any help received