nihilism machine wrote:
    // Connect to the database
    public function __construct() {
        $DB = new db();

Everything Nathan said, plus change the $DB to $this->DB in your construct() method.

Jim

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

Reply via email to