I am sorry for digging up an old thread but what I would like some help with is similar to what is being mentioned in this thread.
I am trying to do a conditional IF loop.
Something like:
PHP Code:
if ($bbuserinfo[usergroupid]!=6) or ($bbuserinfo[usergroupid]!=10)
{
print_no_permission();
}
else
{
stuff
}
however upon writing that code I get an error..
Quote:
Parse error: parse error, unexpected T_LOGICAL_OR
|
Can anyone suggest a work-around please?
Thank-you