Re: [PHP] Re: error when using $this

2003-08-21 Thread Jean-Christian IMbeault
Jonathan Villa wrote: > I am in a class as well as a constructor. > > class DBI > { > //var declarations > function DBI() > { > $retVal = true; > > $this->setDBConn(mysql_connect('localhost',$this->_dbuser,$this->_dbpwd)); > if ($this-

Re: [PHP] Re: error when using $this

2003-08-21 Thread Jonathan Villa
I am in a class as well as a constructor. class DBI { //var declarations function DBI() { $retVal = true; $this->setDBConn(mysql_connect('localhost',$this->_dbuser,$this->_dbpwd)); if ($this->getDBConn() == false)