php URI troube with if statement,
- by sea_1987
I am running an if statement, that looks like this,
if($this->uri->segment(1) !== 'search' || $this->uri->segment(1) !== 'employment') {
//dome something
}
My problem is that first condition works, if the uri segment 1 equals search then the method do not run however if I on the page employment, and the first segment of the uri is employment then the condition still runs, why is this?