Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cannot extend Pear::DB class

Status
Not open for further replies.

g8z

Programmer
Dec 18, 2001
12
US
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:

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top