Re: [PHP] How to check flags?

2002-04-21 Thread albertonews
I want this: 2 Bloco 4 Sessão 8 Sistema only this three but I don't want nothing like this: If ($abc == 10) { } I want something that really explode the number 21/04/2002 14:30:37, Miguel Cruz <[EMAIL PROTECTED]> wrote: >On Sun, 21 Apr 2002, albertonews wrote: >> I d

[PHP] How to check flags?

2002-04-21 Thread albertonews
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 how to use this flag system in PHP? like, configuring: 2 = Block 4 = Menu 8 = System