:-\ Kind of a strange title, but here's what I'm trying to do. I assume I'll need an array, which I am very poor at, so...
I have a table (competition results), which holds
competition id
competion level
username
user's scores
rank (calculated and stored based off scores)
points (currently empty)
count of users in the competition >> I may drop this if it's more efficient to obtain and count these when I'm calculating points instead of off on it's own, it's only there for point counting and a simple echo.
What I'd like is to calculate points based off of the level of the event, the player's placing, and the number of players entered in the event. I'd like to insert the points earned into the event result table for future reference and counting.
Any suggestions?