First of all, let me say that I am using PHP 5, but not including any new php5 features, just installed it.
Anyway, this is the offending code.. $retVal = true; $this->setDBConn(mysql_connect('localhost',$this->_dbuser,$this->_dbpwd)); if ($this->getDBConn() == false) $retVal = false; and on my page I get the following error: Fatal error: Using $this when not in object context in /var/www/xxxxx Now this is code I've used time and time before...also, I have never seen an error such as the above. Any ideas? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php