the conditional is if the moderate_members column has a value and the user doesn't have the groupid in his/her groups arrray column in the user table then it will show the template, the reason i've got the characters escaped is because i'm using quotation marks and not apostraphies. and the in_array is the groupdid first and the array it's looking in second. it's not spouting now errors so it should be right i hope so, the reason i'm asking is because it's not working, so i'm wonderinf if it's something like 'you can't use in_array like that in a conditional'
|