On 10/10/05, zzapper <[EMAIL PROTECTED]> wrote:
> Image that there could be a string
>
> fred
> Fred
> FRED
>
> First of all I need to know that these are same which I can do with 
> strtolower,
> but how could I tell


$a = array( 'fred', 'Fred', 'FRED' );
sort( $a );
echo $a[ 0 ];


--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/

Reply via email to