Re: [PHP-PEAR] PHPLib and Pear merge
[email protected] (Chuck Hagenbuch) Wed, 7 Mar 2001 11:53:04 -0500
| Newsgroups | php.pear |
|---|---|
| Message-ID | <[email protected]> |
Quoting Bertrand Mansion <[email protected]>: > $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, <[email protected]> "Live, from Washington, where the doctors were telling us what they did, and did not, do with Vice President Cheney." -Dan Rather