Re: PHPLib and Pear merge

From: Date: Wed, 07 Mar 2001 16:53:04 +0000
Subject: Re: PHPLib and Pear merge
Groups: php.pear 
Request: Send a blank email to php-pear+get-1641@lists.php.net to get a copy of this message
Quoting Bertrand Mansion <bmansion@tapage.fr>: > $db = new DB_xxx; > $query1 = "select RRRR from XXXXX"; > $db->query($query1); > while ($db->next_record()) { > > $db2 = new DB_xxx; > $query2 = "UPDATE XXXX SET XXXX WHERE > XXXX='".$db->f("RRRR")."'"; > $dbb->query($query2); > } > > is this what you mean ? It works for me. Yes, but you have to open 2 database connections. You shouldn't have to. -chuck -- Charles Hagenbuch, <chuck@horde.org> "Live, from Washington, where the doctors were telling us what they did, and did not, do with Vice President Cheney." -Dan Rather

« previous php.pear (#1641) next »