Why are you controlling the bet amount table?? You must allow the user yo decide It should be set by the player how much he wanted to play. Do you understand why should I loose all the money in my account??