Since case two (below) onwards all follow the same pattern, you could use a loop to automate this. Just define a standard mathematical formula, then you can plug and play.
If ($_SESSION['Land'] >= 101 && $_SESSION['Land'] <= 150) $_SESSION['HLand'] = ($_SESSION['Land'] - 100) * 2 + 100;

New Topic/Question
Reply






MultiQuote




|