I have a login form that is used by people with varying levels of access. For example, people with an access of 2 get to see more than people with access of 1.
When logging in, two variables get set: logstatus and level
I need to set up an if statement to verify both variables before letting them go on.
if ($logstatus == 1 AND $level == 2){
echo $dothis;
}
I'm pretty sure the code above will not work, so how do I set up an if statement to check two different criteria?
Brian