Ynt: String Compare
| From: | Ferzan | Date: | Tue, 18 Feb 2003 11:06:33 +0000 |
| Subject: | Ynt: String Compare | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-18572@lists.php.net to get a copy of this message | ||
Brennan Mann <brennan@hire-experience.com> wrote in message
news:20030212153512.83615.qmail@pb1.pair.com...
> 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
> evaluate to true and this worked:
> if($string1 == "1000"), but I can't get it to work with both variables.
Both
> variables are string type. Any Ideas?
>
> Thanks,
> Brennan
>
>