Re: PHPLib and Pear merge
| From: | Chuck Hagenbuch | Date: | Wed, 07 Mar 2001 16:22:27 +0000 |
| Subject: | Re: PHPLib and Pear merge | ||
| Groups: | php.pear | ||
| Request: | Send a blank email to php-pear+get-1626@lists.php.net to get a copy of this message | ||
Quoting Paul Meagher <paul@datavore.com>:
> Could you elaborate upon this limitation with a simple example of what you
> can't do with phplib and what you can do with PEAR:DB?
If I want to nest sql queries, such that each inner query depends on a row of
the outer query, I can do this in pear, because running a new query doesn't
wipe away the current result set. But with phplib, I'd need to loop through the
entire outer query, store the results somewhere, and then do all of the inner
queries.
-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