<?
$db1 = mysql_connect("localhost","root","root") or dir("can not connect Mysql Server");
mysql_select_db("1",$db1) or dir("Can not connect to the MySQL Server.");
$db2 = mysql_connect("localhost","root","root") or dir("can not connect Mysql Server");
mysql_select_db("2",$db2) or dir("Can not connect to the MySQL Server.");
?>
$result = mysql_query("SELECT * FROM db1.tags WHERE db1.catalog='fresh tag' ");
If I connect from a multi database, how to make a MySQL query from db1?