Re: comparison operator
| From: | Jason Barnett | Date: | Wed, 09 Mar 2005 23:32:32 +0000 |
| Subject: | Re: comparison operator | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-210400@lists.php.net to get a copy of this message | ||
Richard Lynch wrote:
>>i ran into this problem and i dont remember how i worked around it.
>
>
> http://php.net/isset
>
>
I would also use isset. Or you can use the identical (===) comparison
instead of the equivalent (==) comparison to check for 0.
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc