Robert9
05-27-2004, 09:00 PM
I need a new ability for some of my groups, now i could do it with a new field in the usergroup table or i can use the generic options. For this i need "convert_array_to_bits" in "function_misc.php".
What i dont know is how this function works, normaly i use:
select 1 = 1
select 2 = 2
select 3 = 4
select 4 = 8
and so on, with this i got the sum.
Example select 1 and select 4 makes 9, but this is only functional if i know the sort of my selects. With the code i found till now, there is nothing about this sort.
Has someone do this before and now the right places to look for the code?
What i dont know is how this function works, normaly i use:
select 1 = 1
select 2 = 2
select 3 = 4
select 4 = 8
and so on, with this i got the sum.
Example select 1 and select 4 makes 9, but this is only functional if i know the sort of my selects. With the code i found till now, there is nothing about this sort.
Has someone do this before and now the right places to look for the code?