multiple connections to MySQL in a single script example

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux