Thanks!  Just what I was looking for!

"Jon Haworth" <[EMAIL PROTECTED]> wrote in message
news:67DF9B67CEFAD4119E4200D0B720FA3F0241E788@;BOOTROS...
> 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

Reply via email to