Re: Usage of BD.php inside a class
| From: | Luc Saint-Elie | Date: | Fri, 13 Apr 2001 21:08:08 +0000 |
| Subject: | Re: Usage of BD.php inside a class | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-51@lists.php.net to get a copy of this message | ||
At 22:44 13/04/01 +0200, Martin Jansen wrote:
On Fri, 13 Apr 2001 22:11:02 +0200, Luc Saint-Elie wrote: I get : Fatal error: Call to undefined function: query() in backend.php on line 140 It should be $db->simpleQuery($query) instead of $db->query(). -MartinHello Matin, I borrowed this code from : http://www.phpbuilder.com/columns/allan20010115.php3?page=2 And it works like a charm outside of a Class Luc