Re: call to a member function select() on a non object.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



change
               $rows = $DB->select("SELECT * Users WHERE Email='$Email', AND
Password='$PasswordEncoded'");

to
               $rows = $this->DB->select("SELECT * Users WHERE
Email='$Email', AND
Password='$PasswordEncoded'");

you have to always reference the current instance w/ the $this keyword in php ;)

-nathan

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux