|
You should be able to create two seperate connections.
$con = mysql_connect(DB1, etc, etc);
$con1 = mysql_connect(DB2, etc, etc);
The sql you create can be used on both handles (con1 & con2)
I.E
mysql_query (QSTRING, handle);
so as long as you pass the handle you should be working under that handles DB.
so to do it on both just call mysql_query twice each with a seperate handle to connect to the seperate DB.
Ibbo
|