Your Location is: Home > Php
How to add two where condition(One is equal to and another is not equal to in associative array using php )
Question
public function getAllUsers(){
$args = array(
'where' => "id != ".$_SESSION['user_id']
);
return $this->select($args);
}
how can I add status
equal to active
or status => 'active'
in above where condition