PDA

View Full Version : Equal Checking on multiple usergroups


SpeedStreet
10-11-2003, 06:13 PM
If:

if ($bbuserinfo['usergroupid']!=1)

Is good to represent one type of usergroup, what is the code to authorize say 1,2 and 3 at the same time?

Thanks!

all-the-vb
10-12-2003, 01:10 PM
use in_array

www.php.net/in_array