Hey guys,
I hope someone can help me with the idea behind this.
I'm setting up a website in which members can have their own personal profile which displays all their information.
I have 8 items that I want users to be able to make private or public. So in a database I have all their information including the 8 private/public entries.
I'm trying to figure out the best way to do this. I could create a new database table with all the different variations and a unique number associated to them but this just seems wasteful.
I was wondering is there any way I could figure this out using some binary. e.g if i had 00000000 everything is private 00000001 the first item is public 10000001 the first and last items are public.
Now I'm sure there is a better method of doing this could someone please provide me with some insight? Thanks