yeah the customer bought it off you like this month or last... anyways
$_POST['race'] = ( isset($_POST['race'])&&in_array($_POST['race'], array(1,2,3)) )?$_POST['race']:'';
if ( empty($_POST['race']) ) {
echo 'Error!';
die($h->endpage()); // note $h->endpage() will not work on register
}