Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 253
  • Last Modified:

2 conditions in one if statement

in this statement:

".($subpage=="management" ? 'class="active"' : ''). "

i need to add this condition:

where $value['id']=="50"
0
phillystyle123
Asked:
phillystyle123
1 Solution
 
wellholeCommented:
".($subpage=="management" && $value['id']=="50" ? 'class="active"' : ''). "
0
 
phillystyle123Author Commented:
gorgeous! thanks wellhole
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now