Php if: I’m going wrong somewhere!
I’m ready using an if statement like the one below, to action something if the url is the same as “/activity”
But how do I go about matching up the following url “/members/admin/activity/2” when “admin” and “2” are changeable depending on the user and activity tag?
I’ve tried the following but with no luck
I feel like I’m close, can anyone help?!
- The topic ‘Php if: I’m going wrong somewhere!’ is closed to new replies.