Hey,
Not sure how to ask if a variable is equal to two seperate values...
So I want to do the following:
if ($Type == "testimonials" | "personaldevelopment") { do something } else { do something else }
Not quite sure how to do this?
Cheers, Chris
I don't see how a variable could be equal to 2 things at once, but if you meant either one then:
if ($Type == "testimonials" || $Type == "personaldevelopment") { do something } else { do something else }
I think that would do it.
Brad
Sorry that's what I meant 🙂
Many thanks!