I host a few sites, and on usually each site will have it's own MySQL
database in the background. I've decided that I want to link one site
to another, and need to connect to more than one database at a time.
I've found that when I try to connect to 2 or more, even if I assign the
other
Not sure about the multiple connections side, but to kill a connection:
mysql_close($link);
where $link is your connection variable/string
hope this helps.
-Patrick
From: James Taylor [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: PHP List [EMAIL PROTECTED]
Subject: [PHP] Connecting
] Connecting to multiple DB's
I host a few sites, and on usually each site will have it's own MySQL
database in the background. I've decided that I want to link one site
to another, and need to connect to more than one database at a time.
I've found that when I try to connect to 2 or more, even
3 matches
Mail list logo