aXen 0 Posted July 16, 2018 Share Posted July 16, 2018 Hello, Code for style. I am looking for "if", which checks the user's group (also secondary groups) and displays the code for that group. Link to comment Share on other sites More sharing options...
Cookie Monster 673 Posted July 16, 2018 Share Posted July 16, 2018 31 minutes ago, aXen said: Hello, Code for style. I am looking for "if", which checks the user's group (also secondary groups) and displays the code for that group. You need to give more info then that. i if(user.secondary_group) { do stuff } This for PHP, is it for Javascript, what are you trying to gain. If you can't really write more then 1 or 2 lines of help text, then I can't really write more then if(!helpful) { return "Can't help user" } else { return "Sure I can help" } 1 Liked what i posted remember to feed me a cookie ->Or you can add a cookie to my Link to comment Share on other sites More sharing options...
Recommended Posts