Let's say I have the following flags that can be attached to a customer:
1 Hot
2 Urgent
4 Sensitive
8 Confidential
In my table I would store an active customer as an int of 6.
I figured doing things this way would save me a reference table and make querys faster.
How do I get PHP to interpret a 6 and for example light up a customer and active icon?