PDA

View Full Version : If/else Statements By Active Product


artbyvicky
01-18-2004, 08:30 PM
Okay, maybe I'm a little overworked here, but I can't seem to figure this out and I think it should be something simple. This is my problem: I have created a list of links to display to my users on their amember pages. Some of these links will only apply to users of specific active products. I know I can list them in aMember's Admin, but this route doesn't fit my needs for all the links (and for display reasons). Here is what I'm looking for:

If Active Product=1 display nothing; else display Link 1
Link 2
If Active Product=1,2,3 display nothing; else display Link 3
Link 4
If Active Product=1 display Link 5; else nothing
Link 6, etc

These are the different scenerios I need to resolve. Does this make sense? Is it possible? I sure hope someone can help with this as its driving me nuts.

Thanks to whomever can lead me in the right direction!

alex-adm
01-20-2004, 02:47 PM
Where do you want to display it?
I hope it is some PHP page protected by php_include protection?