Re: [PHP] Comparing 2 strings.

2003-11-19 Thread Ed Curtis
I guess I did miss that it says that the comparison is case sensitive and binary safe. Thanks, Ed On Wed, 19 Nov 2003, CPT John W. Holmes wrote: > From: "Ed Curtis" <[EMAIL PROTECTED]> > > > I currently store text from a MySQL blob field in a string $orig_text. I > > need to compare that wi

Re: [PHP] Comparing 2 strings.

2003-11-19 Thread CPT John W. Holmes
From: "Ed Curtis" <[EMAIL PROTECTED]> > I currently store text from a MySQL blob field in a string $orig_text. I > need to compare that with something someone type in from a form stored in > $new_text. How would I go about comparing them to see if they are > different or exactly the same? strcmp

[PHP] Comparing 2 strings.

2003-11-19 Thread Ed Curtis
I currently store text from a MySQL blob field in a string $orig_text. I need to compare that with something someone type in from a form stored in $new_text. How would I go about comparing them to see if they are different or exactly the same? strcmp doesn't look like it will handle this too well