RE: [PHP-DB] accessing two databases within one script

2004-10-05 Thread Oscar Rylin
] accessing two databases within one script I have a page where I need to access two different databases in mysql. After accessing the first database I used mysql_close($connection); and then code to access the other database. The first database access works fine, the second gives me

RE: [PHP-DB] accessing two databases within one script

2004-10-05 Thread Graham Cossey
PROTECTED] Sent: 05 October 2004 03:31 To: [EMAIL PROTECTED] Subject: [PHP-DB] accessing two databases within one script I have a page where I need to access two different databases in mysql. After accessing the first database I used mysql_close($connection); and then code to access the other

Re: [PHP-DB] accessing two databases within one script

2004-10-05 Thread Andrew Kreps
On Mon, 04 Oct 2004 22:31:15 -0400, Gary Rachel [EMAIL PROTECTED] wrote: I've tried not using the mysql_close statement. But that option doesn't select the new database, it seems to stay connected to the previous one, despite my specifying a new database to access. Can I not access two