1<?php
2 if (isset($_POST[beermoney])){$i = $_POST[beermoney]};
3switch ($i) {
4 case 0:
5 echo "get a job";
6 break;
7 case 1:
8 echo "buy draft beer";
9 break;
10 case 2:
11 echo "drink budwieser";
12 break;
13}
14?>