_dbhost = $dbhost; $this->_dbuser = $dbuser; $this->_dbpass = $dbpass; $this->_dbname = $dbname; $this->_connection = mysql_connect($dbhost,$dbuser,$dbpass); mysql_select_db($dbname,$this->_connection); } } ?>