Re: Examples for PHP4 DB class? Anyone?
| From: | Matt McClanahan | Date: | Tue, 30 May 2000 20:30:34 +0000 |
| Subject: | Re: Examples for PHP4 DB class? Anyone? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-109@lists.php.net to get a copy of this message | ||
On Tue, 30 May 2000, Adam W. Dace wrote:
> Matt McClanahan wrote:
> >
> > On Tue, 30 May 2000, Adam W. Dace wrote:
> > > I'm not as familiar with PHP's OO extensions as I should be, and I'd
> > > love to start using the new pear/DB class that's include in PHP 4.0.0.
> > > Unfortunately I can't for the life of me figure it out! I get no
> > > errors, no warnings, just a script that plain stops processing.
> >
> > Well, a very crude example would be
>
> ---CUT---
>
> Thank you sir! I appreciate the example, although all it gets me is
> more exposed broken-ness within the DB class itself(i.e. using "use"
> generates errors, etc.). Any idea when they might have a working
> version of this wonderful class? Or perhaps I should be pulling pear
> out of CVS?
Hmm. Yes, it seems Pear in CVS is still using the use command. Well, one
option would be to edit all occurances of use and switch them to require
or require_once.. There aren't many, I only see 6, myself.
Matt