Quote:
Originally Posted by PKRWUD
That's pretty much what I figured, but my coding skills don't really exist, I'm an engine man. lol. What is the proper syntax for adding two user groups together like you are suggesting? I'm not asking for the whole code, but do I write "$bbuserinfo[usergoupid]==6, $bbuserinfo[usergoupid]==13" or "$bbuserinfo[usergoupid]==6 and $bbuserinfo[usergoupid]==13", etc. ? What's the proper way to write it out so that the browser recognizes those two go together?
|
It depends on the statement. Most of the times, it should be OR, like :
HTML Code:
<if condition="$bbuserinfo[usergroupid]==6">
do this
</if>
should be converted to :
HTML Code:
<if condition="$bbuserinfo[usergroupid]==6 OR $bbuserinfo[usergroupid]==13">
do this
</if>
Rgds