host, $this->user, $this->pass, $this->db); if($this->connect_errno){ die($this->connect_error); } $this->set_charset('utf8'); } }