Nice solution =)

> -----Original Message-----
> sort ( $array );
> if ( $array[ 0 ] !== $array[ count ( $array )-1 ] ) {
>   // Not all fields in the array are the same...
> }

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to