Thanks guys, thats working, which means thats not whats causing my problem. I want to compare each value in the array against a variable, and return a result. Heres my code, but again I'm having no luck with it...
for ($i=0; $i <count($access); $i++)
{
if ($auth == $access)
{
$granted = true;
}
}
All help gratefully received...