[PHP] Compare strings

2001-12-05 Thread Mainolfi, Joe

Is there another way to compare the values of 2 strings other than strcmp().
This function is not consistent with its results and is causing so many
headaches.  I am somewhat new to Php so any help is appreciated.  Thanks

__   
Joseph D. Mainolfi Jr.
IT Specialist
American Bridge Company
1000 American Bridge Way
Coraopolis, PA 15108
(412) 631-1018 phone
(412) 631-2000 fax
[EMAIL PROTECTED]
http://www.americanbridge.net


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Compare strings

2001-12-05 Thread Mike Eheler

if ($str1 == $str2) ?

If that's not it, check http://download.php.net/manual/en/ref.strings.php

Mike

Mainolfi, Joe wrote:

Is there another way to compare the values of 2 strings other than strcmp().
This function is not consistent with its results and is causing so many
headaches.  I am somewhat new to Php so any help is appreciated.  Thanks

__   
Joseph D. Mainolfi Jr.
IT Specialist
American Bridge Company
1000 American Bridge Way
Coraopolis, PA 15108
(412) 631-1018 phone
(412) 631-2000 fax
[EMAIL PROTECTED]
http://www.americanbridge.net





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]