if (in_array($bbuserinfo['usergroupid'], array([i]comma-delimited list of usergroupids[/i]))) { header("Location: newpage.php"); exit; }