Suprie wrote:
    function getDB()
    {
        return $this->$db;
    }

There should not be a $ before db. It should be $this->db. That's why PHP is telling you the property is empty... because it is.

-Stut

--
http://stut.net/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to