I have a game with a large number of levels, and the player can achieve a different score in each level, which I need to keep track of.
So my table should look something like:
maxLevel | level1 | level2 | level3 …
I have a variable called numLevels which holds the number of available levels in the game. Since this changes all the time right now, I’d love it if I could use some sort of loop which will create the columns in the table according to the number of available levels.
Can anyone please help me with this?
Thanks! [import]uid: 44037 topic_id: 28135 reply_id: 328135[/import]