Re: db inside a class
| From: | Mika Tuupola | Date: | Sat, 29 Mar 2003 20:20:21 +0000 |
| Subject: | Re: db inside a class | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4512@lists.php.net to get a copy of this message | ||
On Fri, 28 Mar 2003, Patrik Berggren wrote:
> I'm trying to use the pear db insade a class of my own, I know that
> this have been up on the list before(did a search) but I could't get
> the help need from the privous aswers so here I go:
Not answering to you question in here, but I personally
find it a better approach to make the connection elsewhere
and pass the PEAR DB handle as a parameter to a class.
--
Mika Tuupola http://www.appelsiini.net/~tuupola/