Welcome Guest, Not a member yet? Register   Sign In
Problems with my CRUD function
#8

[eluser]minoh[/eluser]
[quote author="JoostV" date="1253052067"]Counting the params in your URI, your ID appears to be in segment 4, not 3. So
Code:
$this->db->where('id', $this->uri->segment(4));

If you are not sure which segment your param is in, test you params using
Code:
var_dump($this->uri->segment_array());
[/quote]
the var_dump returns : array(0){} as result.

normally it should returns array(4){...}.


Messages In This Thread
Problems with my CRUD function - by El Forum - 09-14-2009, 03:16 AM
Problems with my CRUD function - by El Forum - 09-14-2009, 06:36 PM
Problems with my CRUD function - by El Forum - 09-15-2009, 07:16 AM
Problems with my CRUD function - by El Forum - 09-15-2009, 07:55 AM
Problems with my CRUD function - by El Forum - 09-15-2009, 08:10 AM
Problems with my CRUD function - by El Forum - 09-15-2009, 08:38 AM
Problems with my CRUD function - by El Forum - 09-15-2009, 11:01 AM
Problems with my CRUD function - by El Forum - 09-16-2009, 02:08 AM
Problems with my CRUD function - by El Forum - 09-16-2009, 02:24 AM
Problems with my CRUD function - by El Forum - 09-16-2009, 02:44 AM
Problems with my CRUD function - by El Forum - 09-16-2009, 02:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB