Thanks Lynne....I needed that as previously I was using something like
Code:
if ($forum['forumid'] != 1 AND $forum['forumid'] != 2 AND $forum['forumid'] != 3 AND $forum['forumid'] != 4)
Not sure if that's the exact syntax as I've just typed it from memory, I've deleted it now. But you get the idea.
It was working but I felt it was ridiculously long winded, and I had read somewhere it used marginally more resources doing it that way.