Solved

2 conditions in one if statement

Posted on 2009-05-18
2
225 Views
Last Modified: 2012-05-07
in this statement:

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

i need to add this condition:

where $value['id']=="50"
0
Comment
Question by:phillystyle123
2 Comments
 
LVL 9

Accepted Solution

by:
wellhole earned 500 total points
ID: 24415027
".($subpage=="management" && $value['id']=="50" ? 'class="active"' : ''). "
0
 

Author Closing Comment

by:phillystyle123
ID: 31582714
gorgeous! thanks wellhole
0

Featured Post

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question