Re: [PHP-PEAR] cache_container_db.php

[email protected] (Chuck Hagenbuch) Thu, 1 Mar 2001 11:43:14 -0500
Newsgroups php.pear
Message-ID <[email protected]>
Quoting Sebastian Bergmann <[email protected]>:

>   Could some kind soul with knowledge of PEAR/DB please have a look at 
> 
>     http://sb.rc5.de/cache_container_db.phps

I haven't actually downloaded it and tried it yet, but I noticed this in the 
fetch() function:

$res = $this->db->query($query);
 ^^^
        if (DB::isError($res))
            return new CacheError("DB::Factory failed: " . DB::errorMessage
($res));

        $row = $red->fetchRow();
                ^^^

That might explain some of it...

-chuck

--
Charles Hagenbuch, <[email protected]>
"We have no fuel on board, plus or minus 8 kilograms." -A NASA scientist