hi,
I cannot seem to properly extend the "DB" PHP class from Pear. I have created a new class called "Connection" which extends Pear, but I seem to be able to call functions from the Connection class at all, even though it appears that the class is properly extending the DB class.
What am I doing wrong?
You can download my code from:
http://www.tufat.com/connection_test.rar
Please run the "index.php" file in the public_html directory to see an example of this problem. There is a function called "test" in the Connection class which I am trying to call, but I keep getting an "undefined function" error.
thanks,
Darren
cannot extend Pear::DB class
Moderator: General Moderators