View Single Post
Old 07-14-2009, 08:20 PM   #3 (permalink)
gregor171
The Wanderer
 
gregor171's Avatar
 
Join Date: May 2009
Location: Ljubljana, Slovenia
Posts: 9
Thanks: 0
gregor171 is on a distinguished road
Default

this was really a quick look into code:
$result=$DBData->query...
$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:
protected $DBData;
somewhere...
this variable should be an instance of $myObj...

I also noticed confusion: dbopen.php or opendb.php

__________________
WEB Developer
http://xweblabs.com
http://grajzar.info
Send a message via Skype™ to gregor171
gregor171 is offline  
Reply With Quote