query($query); $user = $result->fetch_assoc(); $this->uid = $user["uid"]; $this->username = $user["username"]; $this->email = $user["email"]; $this->last_login = $user["last_login"]; } } ?>