I am currently checking by doing this,
if($user['medicineStudy'] == 1 || $user['thievingStudy'] == 1 || $user['miningStudy'] == 1 || $user['barterStudy'] == 1 || $user['craftingStudy'] == 1 || $user['smithingStudy'] == 1)
But as I add values I have to manually type them in, is there not a way to search all the values and find out if they equal to 1? The array has lots of other information in it but the values I want to check always end in Study?
Demo: http://codepad.org/c7WehD96