Re: [PHP-WIN] String Compare

2003-02-12 Thread Cam Dunstan
PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 13, 2003 2:33 AM Subject: [PHP-WIN] String Compare > Hello Everybody, > > Is there a way to do a hex view on strings. Right now my if statement is > evaluating to false when I compare these two strings: > S1: 100

Re: [PHP-WIN] String Compare

2003-02-12 Thread Piotr Pluciennik
Have you tried strcasecmp() or strcmp()? See the manual for reference. Piotr --- Brennan Mann <[EMAIL PROTECTED]> wrote: > Hello Everybody, > > Is there a way to do a hex view on strings. Right > now my if statement is > evaluating to false when I compare these two > strings: > S1: 1000 > S2:

[PHP-WIN] String Compare

2003-02-12 Thread Brennan Mann
Hello Everybody, Is there a way to do a hex view on strings. Right now my if statement is evaluating to false when I compare these two strings: S1: 1000 S2: 1000 If ($s1 == $s2) should evaluate to true not to false. I tried a couple different things to see if I could get it the statement to eva