Bug #4323 [NEW]: DB Object Seems to Forget DSN Information

From: Date: Tue, 10 May 2005 22:32:13 +0000
Subject: Bug #4323 [NEW]: DB Object Seems to Forget DSN Information
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-6000@lists.php.net to get a copy of this message
From: jda_mule at yahoo dot com Operating system: Mac OS 10.4 PHP version: 4.3.11 Package: Documentation Bug Type: Bug Bug description: DB Object Seems to Forget DSN Information Description: ------------ I can successfully create a DB object, which connects to the database and gathers queries successfully. I then load the entire DB object into a session variable, and call it later in my application. When I query using the DB session object, I always get a "DB Error: no database selected" error message. Yet, if I do a die(print_r($_SESSION['db'])) the _db and dsn- >database attributes are correctly set to the name of the database I am trying to use. -- Edit bug report at http://pear.php.net/bugs/bug.php?id=4323&edit=1 --

« previous php.pear.doc (#6000) next »