my example :
if (!$bbuserinfo[usergroupid]==1 || $bbuserinfo[usergroupid]==3 || $bbuserinfo[usergroupid]==11) {
your example:
if($bbuserinfo[usergroupid] != 1 || $bbuserinfo[usergroupid] != 3 || $bbuserinfo[usergroupid] != 11) {
( can the above be done ? - why does mine have double '==' and yours dont. - can you explain this please )
BTW am restrcing it to groupid 1, 3 and 11 , anthing else gets the error.
ps. Does the rest of my script too correct ( btw is all does work - am just wondering if i have done anything funny or wondering if there is a 'better' way to get the same result.
Thanks g-force2k , you have been loads of help.
|