<?
include("country_codes.php");
$in $_REQUEST[in];
if ( isset(
$in) )
{
$in strtolower($in);
$country "No match"
  foreach ( 
$country_code as $key=>$val  )
    {
      if ( 
$in == $key )
        { 
$country $val; }
    }
}
?>
<html>
<body bgcolor="#fad888">
<form>
<center>
<input cols="2" maxlength="2" type="text" name="in" value="<? echo "$in"?>" />
<input type="submit" />
<input type="text" name="country" value="<? echo "$country"?>" />
</center>
</form>


</body>
</html>