时间:2021-07-01 10:21:17 帮助过:3人阅读
是的
数据库名最好用英文,这样更稳定。
嗯,是这样子
conn.php
$conn=mysql_connect("mysql数据库的地址","用户名","密码");
search,php
include 'conn.php';
mysql_select_db("库01", $conn);
...
mysql_close($conn);
include 'conn.php';
mysql_select_db("库02", $conn);
...
mysql_close($conn);
include 'conn.php';
mysql_select_db("库03", $conn);
...
mysql_close($conn);
?>