need help with school project


hello all, i need help with a project which consists in making 2 webpages in php

page 1: one button

page 2: a number

seems simple, but the website has to do the following:

after clicking the buttonon page 1, in page 2 it shows the number 1
click the button again and it shows number 2,and so on
each time the button is pressed, the counter goes up by one and it shows the number in page 2, up to 100 and then it resets to 1

how to do it?

tnx for the help


What have you tried, thought about, considered?