you have the code to increment the session in an if statement:
if ($BuyOne[$x] >= $GetOne[$y] && $GetOne[$y] != 0) {
$_SESSION["penny"] += $GetOne[$y];
what are the values of $BuyOne[$x] $GetOne[$y] and $GetOne[$y] ? do they satisfy the if statement?