一个php页面连接两个数据库的问题_百度知道
最佳答案: 应该是这样的 $conb=mysql_connect("localhost","root","")or die("mysql连接失败"); $cont=mysql_connect("localhost","root","", true)or ...更多关于php mysql 连接问题,不
如何用PHP同时链接两个数据库_百度知道
最佳答案: 实例化两条sql链接.例如 $wdb = mysql_connect('localhost','root','123456','a1');//负责写入的数据库$rdb = mysql_connect('192.168.xx.xx'...更多关于php mysql 连接问题,不可以同时生成两个连接么。的问题>>