public function updateUserStatus(UserLogin $ul) { $query = "UPDATE `user_login` SET status='" . $ul->getStatus() . "' WHERE iduser_login='******'"; $this->con->openConnection(); $this->con->executeRawQuery($query); }