Re: How to check flags?
| From: | Miguel Cruz | Date: | Sun, 21 Apr 2002 17:30:37 +0000 |
| Subject: | Re: How to check flags? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-93893@lists.php.net to get a copy of this message | ||
On Sun, 21 Apr 2002, albertonews wrote:
> I don't know how to say this in english, so try to discover:
>
> 2 = Married
> 4 = Single
> 8 = With Children
> 16 = Without Children
> 32 = Man
> 64 = Woman
>
> then we add the values we want
> 74 = Woman Married With Children
Look up the operators & and |
If you can give a more concrete example then I can give you a little code
snippet.
miguel