connection)) { $this->connection = new mysqli($this->_host, $this->_username, $this->_password, $this->_database); if (!$this->connection) { echo 'Cannot connect to database server'; exit; } } return $this->connection->set_charset("tis620"); } } ?>