Check allowable range of numeric values
<?php
if (($_GET['age'] < 13) || ($_GET['age'] > 65)) {...}
?>
Restrict <select> choices to a preset array
<?php
$choices = array(1 => 'Trout', 'Halibut', 'Tilapia');
if (! $choices[$_POST['fish']]) { ... }
?>