zackcez Posted July 29, 2008 Share Posted July 29, 2008 Well I'm trying to make it so if the value is in the array it does something like this: $mod_access = array("3", "4"); if ($loggedusergroup == '$mod_access') { echo"Stuff I do"; } anyone know how I can make that work? Link to comment https://forums.phpfreaks.com/topic/117089-solved-if-array/ Share on other sites More sharing options...
castor_troy Posted July 29, 2008 Share Posted July 29, 2008 http://www.php.net/manual/en/function.in-array.php Link to comment https://forums.phpfreaks.com/topic/117089-solved-if-array/#findComment-602224 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.