PEAR DB problem
| From: | Hrabcak Rado | Date: | Mon, 03 Feb 2003 12:47:51 +0000 |
| Subject: | PEAR DB problem | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-3571@lists.php.net to get a copy of this message | ||
Hello,
I'm trying to do this:
I have my own class. I want to use PEAR::DB object in it, which i create
in constructor. But it doesn't work as I expected.
Here I have links to examples:
http://duffy.sk/test/code.phps
http://duffy.sk/test/code2.phps
http://duffy.sk/test/code3.phps
Only code2.phps works.
In code.phps ande code3.phps (in function show) parser says that method
query doesn't exist.
I don't know what I am doing wrong. Could anybody please help me?
Thanks.
--
rado (duffy) hrabcak
.
.t-e-l. + 421 905 669 362 .m-a-i-l. duffy@duffy.sk
.i-c-q. 25915231 .w-e-b. www.duffy.sk