Re: [mccodes v2] Workout Centre [$15]
http://img2.pict.com/94/97/58/326231154 ... orkout.png
Why not use something like this.. from that screen shot :)
$allowed = array(5, 10, 15);
if(!in_array($_POST['mins'], $allowed)) {
echo "Invalid Time
Now your in Hospital :)";
$db->query('UPDATE `users` SET `hospital` = `hospital` - 20, `hospreason` = \'Idiot\' WHERE (userid = '. $ir['userid'] .')');
$_POST['time'] = 5;
}
doWorkSon('bicycle', 'btime', $_POST['time']);
Lol :D