Hi,
I am trying to use to use variables in an array but cant make an if statement work with it.
$nrcexempt = array($exempt1,$exempt2,$exempt3,$exempt4,$exempt5,$exempt6,$exempt7,$exempt8,$exempt9,$exempt10,Admin,NR);
if (strpos($GROUPS,"$nrcexempt")){
$nrcon ="off";
}
else {
$nrcon="on";
}
Any help would be much appreciated.
James