TLN_CANADA
asked on
If statement syntax question
Hey guys,
I'm having a little trouble adding more than 1 usergroup to this if statement. How could I alter this so that it I can select usergroup not equal to 1,2 and 5.
Thank you!
I'm having a little trouble adding more than 1 usergroup to this if statement. How could I alter this so that it I can select usergroup not equal to 1,2 and 5.
if (Phpfox::getUserBy('user_group_id') != 1)
Thank you!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
sorry, I've seen that one, gave it a try but couldn't get it to work the way you want.
ASKER
no worries Robert, thanks for trying :)
ASKER
No worries at all if you don't have the time but I'm really stuck with a javascript question and if you had some time to take a look at it that would be greatly appreciated.
https://www.experts-exchange.com/questions/28009982/Interval-measurement-incorrect-on-javascript-function.html