This is the first page:
What number am i thinking of betweem 1 and 10?
5 (number your guessing)
Guess (thats the link to php)
Result:
Say you guess 5 and the number is 3
it will say
Unlucky you lost
You guess was to high the correct number was 3
OR
Say your guess was 1 and the number is 3
Unlucky you lost
Your guess was to low the correct number was 3
OR
Say you guess 3 and the number is 3
Success you won
Its all randomly generated