Lee PHP wrote:
Hi there, I'm new to OO-PHP and have encountered a problem that I just can't figure out. I have a class called DBAccess that extends mysqli. In a nutshell, it looks like this:
<snip>
If I execute the following code: $conn = DBAccess::getInstance();
Does that give you an object? Check with: var_dump($conn); If that works, does:
$someClass = new Class();
set up the $someClass->conn variable properly? -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php