Farklı diziler arasında PHP karmaşık onay

0 Cevap

My goal is to decide if the $iCurrentMembershipId can access the $aCurrentMenu array based on: if the $iCurrentMembershipId is in the $aRescrictAccess array.

if(is_array($aRescrictAccess)){
   // Not sure what to do
}

Sonuçta, ben kullanıcılar $iCurrentMembershipId $aRescrictAccess dizide ise sayfaya erişimi reddetmek gerekir.

0 Cevap