$country\n"; } } function is_valid_country($country) { global $countries; if ($country == '') return true; return in_array($country, $countries); } ?>