Hi there guys!
I could really use some help, hope one of you has got a minute :)
(I'm a designer, but total non-programmer making a fun game for my personal website)
What I've been struggling to do for the past few hours is add up everyone's scores in a flatfile using PHP. I just can't get the hang of it.
I wanna make a scores file starting at 0, and everytime someone plays my game and gets, say, 3000 points, I want to add that to the number already in the file. Then retrieve the sum and show it in the game.
Something like "1000000 points have been scored until now".
I just can't get the hang of it. Arrrgh so frustrating I can't do a simple addition because I know absolutely no PHP. Pretty please help me?
Excuse my English. I'm from Russia . <img src="smileys/smiley9.gif" border="0" align="middle" />