note 20593 rejected from faq.databases by sander

From: Date: Tue, 09 Apr 2002 13:12:40 +0000
Subject: note 20593 rejected from faq.databases by sander
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-29010@lists.php.net to get a copy of this message
Hi, I wanted to ask you if it is possible to have a connection to 2 databases simultaneously using the same host. I've tried several things such as: db = mysql_connect("localhost", "root", "demonakos"); mysql_select_db("eglobal",$db); mysql_select_db("staff",$db); but I can only connect to one of the 2 databases. Thank you in advance George

« previous php.notes (#29010) next »