RE: [PHP-DB] Losing MySQL connection with multiple database classes

2004-05-05 Thread Mika Porspakka
. -Original Message- From: Mika Porspakka [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 12:23 To: [EMAIL PROTECTED] Subject: [PHP-DB] Losing MySQL connection with multiple database classes Hello all. I'm getting a weird problem trying to use a database class for multiple connection

RE: [PHP-DB] Losing MySQL connection with multiple database classes

2004-05-05 Thread Uzi Klein
Check your class... Maybe it resets the connection each time you create it. -Original Message- From: Mika Porspakka [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 12:23 To: [EMAIL PROTECTED] Subject: [PHP-DB] Losing MySQL connection with multiple database classes Hello all

[PHP-DB] Losing MySQL connection with multiple database classes

2004-05-05 Thread Mika Porspakka
Hello all. I'm getting a weird problem trying to use a database class for multiple connections for different databases on the same server. Whenever I make a new instance of the class, all the previously opened class instances connect to that new MySQL database. So, for example, if I have somet