摘要:
1.给要用到的每个库都建立一个连接;2.中间不要断开连接(如mysql_close($conn)).代码如下:<?php$dbconn1 = mysql_connect("localhost","root","admin888") or die("db1 error");$db1 = mysql_select_db("db",$dbconn1) or die ("db1 select error");$dbconn2 = mysql_connect("loca 阅读全文