Q about if x and y

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • manguish
    Senior Member
    • Jan 2004
    • 361

    Q about if x and y

    I have the following conditionals i wish to AND together :

    <if condition="$bbuserinfo[field11] != 'No'">

    <if condition="in_array($bbuserinfo['usergroupid'], array(4, 2, 3, 1, 8, 10, 14, 22))">

    How would i AND them so both had to be true?
    For all your minimoto needs : www.minimotoclub.com
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    Code:
    <if condition="$bbuserinfo[field11] != 'No' AND in_array($bbuserinfo['usergroupid'], array(4, 2, 3, 1, 8, 10, 14, 22))">

    Comment

    • manguish
      Senior Member
      • Jan 2004
      • 361

      #3
      I was looking too far into it using || etc.

      Cheers Jake
      For all your minimoto needs : www.minimotoclub.com

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...