$first = $_POST['first'];
$second = $_POST['second'];
if (soundex($first) == soundex($second))
{
echo "$first is the same as $second at least as far as soundex is concerned
";
}
else
{
echo "Try metaphone";
echo " Ok I will
";
echo metaphone($first)."
";
echo metaphone($second)."
";
}
?>