Create PHP reverse Counting game

This game is opposite of the normal number guessing game, in this game the user thinks of a number and the computer guesses, the user is supposed to tell the computer if its to high, to low or correct, for some reason when you tell my game to high, it always starts back with one.?