prepare(" SELECT id, guild, name, level, grade, rating, arena_score, joined, last_login, in_war, has_defense FROM guild_member WHERE id = :id; "); $statement->bindValue(':id', $id, SQLITE3_INTEGER); $r = $statement->execute()->fetchArray(SQLITE3_ASSOC); if ($r){ $this->id = $r["id"]; $this->guild = $r["guild"]; $this->name = HTML::e($r["name"]); $this->level = $r["level"]; $this->grade = $r["grade"]; $this->rating = $r["rating"]; $this->arena_score = $r["arena_score"]; $this->joined = $r["joined"]; $this->last_login = $r["last_login"]; $this->in_war = $r["in_war"]; $this->has_defense = $r["has_defense"]; } } } ?>