Learning OOP the hard way! Please help
View Single Post
07-14-2009, 08:20 PM
Join Date: May 2009
Location: Ljubljana, Slovenia
this was really a quick look into code:
$DBData is not an object is what the error says.
It should be something like (check the rest of the code):
$result = $this->DBData->query...
but you need a variable:
this variable should be an instance of $myObj...
I also noticed confusion: dbopen.php or opendb.php
View Public Profile
Send a private message to gregor171
Visit gregor171's homepage!
Find More Posts by gregor171