Re: [PHPLIB] PHPLib and MySQL: Switch Datebases ? From: garyb <email protected>
Date: 01/31/00

Boris said,
> I use two instances of DB_SQL, let's say DB_a and DB_B.
> I even use Page/Sesssion-Managment (Database-Connection using DB_A)
> (DB_B is for the Shopping-Goods)
>
> If i use now th efpllowing piece of code i got an errormessage:

Did you get any answers on this? I am just about to be trying to do
something similar.

I have three different databases, one of which is running user/session
management. The user profile (name, address, etc.) and a bunch of other
user-related data are in a different database entirely, and then there is a
third which handles a bunch of site-specific data.

I am taking today to go back over the use of DB_Sql without sessions etc.,
so I can open, read, write and close databases. Then I'll go back and try to
do that on pages running sessions. Finally, I'll take the leap and get a
new login page built that works with both at once.

I have found the FAQ that Kris once posted on this list and is either now
part of the PHPLib docs (as I recall) or available online at the PHPLib
website, to be quite helpful in understanding how PHPlib views the world.
G
G
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.