Well, I guess you are using

to enter your desired value into the form. If so, just look up the link. The second parameter of the function defines the value to be set. Instead of just writing a number into it like 125, you can first define a variable like $number = 125 and by using a loop iterate through the process of submitting the value and entering it again by adding it with one ($number++ or $number = $number + 1)