Re: 2 database connections

From: Date: Mon, 11 Feb 2002 15:44:50 +0000
Subject: Re: 2 database connections
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-16801@lists.php.net to get a copy of this message
yes, you just open both connections. =) $db1 = mysql_connect($host1,$user1,$pass1); $db2 = mysql_connect($host2,$user2,$pass2); careful tho, you can't use two defines to do this. i'm pretty sure it's a bug in php4. ----- Original Message ----- From: "Jeroen Timmers" <maillist@start4me.nl> To: "[PHP-DB]" <php-db@lists.php.net> Sent: Monday, February 11, 2002 10:36 AM Subject: [PHP-DB] 2 database connections Hello, is there a way to connect to two databases on the same session? Jeroen

« previous php.db (#16801) next »