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

From: Date: Wed, 30 Jan 2008 01:54:27 +0000
Subject: Re: call to a member function select() on a non object.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-268300@lists.php.net to get a copy of this message
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

« previous php.general (#268300) next »