multiple connections to MySQL in a single script example
| From: | Lonnie Cumberland | Date: | Sun, 30 Mar 2003 03:09:28 +0000 |
| Subject: | multiple connections to MySQL in a single script example | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-26712@lists.php.net to get a copy of this message | ||
Hello All,
I am new to using PHP with MySQL and was wondering if anyone had a simple
example of how to have multiple active connections to two MySQL databases in a
single script?
I will have to access two different databases but am not sure how to keep the
active connections and make different queries to each one without having to
open one database, make a query, close it, then open the other database and
make it's query.
This should be possible I think.
Any help would be greatly appreciated,
Lonnie Cumberland
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com