prepare(" SELECT uid, decoration, level FROM decoration WHERE id = :id; "); $statement->bindValue(':id', $id, SQLITE3_INTEGER); $r = $statement->execute()->fetchArray(SQLITE3_ASSOC); if ($r){ $this->uid = $r["uid"]; $this->decoration = new K_Decoration($r["decoration"]); $this->level = $r["level"]; } } } ?>