2011-02-17, 12:39 AM
So I have a comma separated list of group ID's, user inputted (in the ACP), but then how can I get those into my PHP IF statement?
I can use explode() and put all the ID's into an array, but then how do I use that and have it check the groups?
I know HOW to check, just not the groups from the list/array. I would check it with:
I can use explode() and put all the ID's into an array, but then how do I use that and have it check the groups?
I know HOW to check, just not the groups from the list/array. I would check it with:
if($mybb->user['usergroup'] != "4" || $mybb->user['usergroup'] != "8")