Moving from php4 to php5
- by fastcodejava
I tried moving to php5, I am getting into lot of issues. This class gives error :
Class DatabaseConnection
{ // error here
private $connection;
private $result;
//
public function __construct()
{
$this->databaseName = $GLOBALS['configuration']['db'];
}
// other…