Need access for different account roles on a php page
Briefly

The original code allowed access only if the logged-in user was a Member. By using an OR condition, access for both Member and Secretary roles can be granted.
The issue was caused by checking if the user was not a Member OR not a Secretary, resulting in denial of access. The solution was to check if they are not either.
Read at SitePoint Forums | Web Development & Design Community
[
|
]