Welcome Guest, Not a member yet? Register   Sign In
[Solved] isset not working correct.
#3

$this->uri->segment(x) always returns a value, and so will $this->input->get(x), so they will always pass "isset". If you are using CI2.x, they return FALSE if the segment or get parameter didn't exist. So that's probably what you want to check for (!==FALSE) instead of isset().
Reply


Messages In This Thread
RE: isset not working correct. - by kilishan - 04-22-2015, 07:29 AM
RE: isset not working correct. - by wolfgang1983 - 04-22-2015, 08:18 AM
RE: isset not working correct. - by CroNiX - 04-22-2015, 07:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB