note 20593 added to faq.databases

From: Date: Tue, 09 Apr 2002 12:19:32 +0000
Subject: note 20593 added to faq.databases
Groups: php.notes 
Request: Send a blank email to php-notes+get-29006@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 -- http://www.php.net/manual/en/faq.databases.php http://master.php.net/manage/user-notes.php?action=edit+20593 http://master.php.net/manage/user-notes.php?action=delete+20593 http://master.php.net/manage/user-notes.php?action=reject+20593

« previous php.notes (#29006) next »