function connect()
{
$this->obj_mysqli = new mysqli($this->db_host, $this->db_user, $this->db_pass, $this->db_name, $this->db_port);
if ($this->obj_mysqli) {
//$this->obj_mysqli->set_charset($this->db_charset);
$this->obj_mysqli->query("SET NAMES " . $this->db_charset);
return true;
} else {
return false;
}
}