- Impact
- 13
Quick Question, Probably a simple fix
Here is the code I have now:
What I want to do is change the $styleid to include more than one number, so I tried:
$styleid = 1,2,3;
but that gave me a bunch of errors. So how would I have to change it to be able to include an array of numbers?
Here is the code I have now:
Code:
if (in_array($vbulletin->userinfo['usergroupid'], array(2)) || (in_array($vbulletin->userinfo['membergroupids'], array(1))))
{
$styleid = 1;
}
What I want to do is change the $styleid to include more than one number, so I tried:
$styleid = 1,2,3;
but that gave me a bunch of errors. So how would I have to change it to be able to include an array of numbers?





