Hi, > I want to take an array and get the soundex() for each element > in that array and return the results into another array.
How about: $color = array("blue", "green", "orange", "purple", "red", "yellow"); $soundex = array(); foreach ($color as $foo) { $soundex[] = soundex($foo) } HTH Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php