Re: Not sure of my error
| From: | Rasmus Lerdorf | Date: | Sat, 18 Nov 2000 01:13:50 +0000 |
| Subject: | Re: Not sure of my error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-25981@lists.php.net to get a copy of this message | ||
> For some reason the code below
> always returns as true even if
> there State == "whatever" It looks
> correct to me, but apparently isn't.
> <?
> if ($state == "");
^^^
Get rid of the semi-colon there.
-Rasmus