Re: db inside a class
| From: | Mika Tuupola | Date: | Tue, 01 Apr 2003 16:11:34 +0000 |
| Subject: | Re: db inside a class | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4572@lists.php.net to get a copy of this message | ||
On Mon, 31 Mar 2003, Patrik Berggren wrote:
> it gave me some new ideas but did't really help me with my problem:
> Call to a member function on a non-object in.
> were I try to use the query function
Please don't quote couple of screenfulls of code and reply
only with few lines.
Anyway, are you sure you db connection is successfull. You
are probably trying to do a query() on an DB_Error object.
--
Mika Tuupola http://www.appelsiini.net/~tuupola/