Multiple Database Connection Using Prepard Statements

"Ron Piggott" <[email protected]>
Newsgroups gmane.comp.php.database
Organization Acts Ministries Christian Evangelism
Message-ID <CC95DB8B048347F29203B7F3AD15AB6F@RonPiggottPC>
How do I connect to multiple mySQL databases using Prepared Statements ?

I have the syntax

===
$dsh = 'mysql:host=localhost;dbname='.$database3; 
$dbh = new PDO($dsh, $username, $password); 
===

I want to connect to $database1 without loosing my $database3 connection

Thoughts?  Comments?  


Ron Piggott


www.TheVerseOfTheDay.info
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.