prepare(" UPDATE team SET score = :score WHERE uid = :uid AND id = :team; "); $statement->bindValue(":score", $score, SQLITE3_INTEGER); $statement->bindValue(":uid", $player, SQLITE3_INTEGER); $statement->bindValue(":team", $team, SQLITE3_INTEGER); $statement->execute(); return 0; } ?>