Loop statments

Hi
If I have a variable called i and it has an intial vaule of 0 how easy is it to builder a counter that increases the value of i by 1 everytime the user clicks on a button - do you need a loop statment and if so how do you use it.

I am new to this kind of thing so if anyone can give me some pointers that would be great.

Cheeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeers