Ok, I've got the idea in my head, but I'm not completly sure how to set it up.
Basically, I have a file with a number in (to count something). Every time someone submit a form, this number needs to increment. I know about the $count++ option, and the file() one to get the contents of the file, but I'm not quite so sure about the reading of the file (I always forget stuff like rewind).
If anyone could give me some codes, or examples, to use...that would be great :
Thanks
Andy
Basically, I have a file with a number in (to count something). Every time someone submit a form, this number needs to increment. I know about the $count++ option, and the file() one to get the contents of the file, but I'm not quite so sure about the reading of the file (I always forget stuff like rewind).
If anyone could give me some codes, or examples, to use...that would be great :
Thanks
Andy