Multiple Database Connection Using Prepard Statements

From: Date: Sat, 19 May 2012 18:36:29 +0000
Subject: Multiple Database Connection Using Prepard Statements
Groups: php.db 
Request: Send a blank email to php-db+get-48286@lists.php.net to get a copy of this message
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

« previous php.db (#48286) next »