Date: 01/15/01
- Next message: fabrizio.ermini <email protected>: "Re: [phplib] phplib and extra db access"
- Previous message: Miguel Dieckmann: "[phplib] phplib and extra db access"
- In reply to: Miguel Dieckmann: "[phplib] phplib and extra db access"
- Next in thread: fabrizio.ermini <email protected>: "Re: [phplib] phplib and extra db access"
- Reply: fabrizio.ermini <email protected>: "Re: [phplib] phplib and extra db access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello Miguel,
Monday, January 15, 2001, 5:32:55 PM, you wrote:
MD> it works, but now the db-access of the chat system does not work. it's
MD> another database. have the chat tables to be in the same database to work
MD> together with the session management of phplib ?
Not obligatory. But for each database you're using you should provide
its own DB_Sql subclass.
$db1 = new DB_1; // first db
$db2 = new DB_2; // second db (e.g. for chat)
Note that you'll have to provide different connection properties for
each DB_* class (at least username and password should be different),
cause php handles db connections in a strange way - if you want to
make a connection to different databases, but use the same username
and password, php reuses the first connection.
-- Best regards, Max A. Derkachev mailto:kot <email protected> Symbol-Plus Publishing Ltd. phone: +7 (812) 324-53-53 http://www.Books.Ru -- All Books of Russia--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>
- Next message: fabrizio.ermini <email protected>: "Re: [phplib] phplib and extra db access"
- Previous message: Miguel Dieckmann: "[phplib] phplib and extra db access"
- In reply to: Miguel Dieckmann: "[phplib] phplib and extra db access"
- Next in thread: fabrizio.ermini <email protected>: "Re: [phplib] phplib and extra db access"
- Reply: fabrizio.ermini <email protected>: "Re: [phplib] phplib and extra db access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

