For some odd reason, I can NOT debug this for the life of me..
$this->input->post(‘post_page’) = 10…. I echo the variable and it does print 10 to the screen.
This keeps returning false when it should be true..
So… can someone help me out with this? I tried putting individual parentheses around each check AND changing the || to OR.. still nothing.
Here is my code nonetheless:
if($this->input->post('post_page') <> 10
|| $this->input->post('post_page') <> 25
|| $this->input->post('post_page') <> 50
|| $this->input->post('post_page') <> 75) {
return false;
}
I think you should use