Very stupid question how to check 2 things in 1 if. , I'm getting errors typing code in a wrong way.
I need to check if expression A isset, OR expression B isset in 1 IF statement
My code is if (isset(expression1) OR isset(expression2)) {}
this is an yii framework this is fullcode
if (isset(Yii::app()->user->viewUsersPage) OR isset(Yii::app()->user->checkAccess('guest')))
something is wrong there...
isseting an expression ??||instead ofORORjust fine.