Welcome Guest, Not a member yet? Register   Sign In
URI Segments
#3

[eluser]xwero[/eluser]
You can get an associative array of the segments using the uri->uri_to_assoc(). The function has one parameter where you can define the offset if it isn't 3. so in your case
Code:
print_r($this->uri->uri_to_assoc(2));
// array('category'=>1,'supplier'=>5)


Messages In This Thread
URI Segments - by El Forum - 10-02-2008, 04:30 AM
URI Segments - by El Forum - 10-02-2008, 04:54 AM
URI Segments - by El Forum - 10-02-2008, 05:11 AM
URI Segments - by El Forum - 10-02-2008, 05:25 AM
URI Segments - by El Forum - 10-02-2008, 05:40 AM
URI Segments - by El Forum - 10-02-2008, 05:51 AM
URI Segments - by El Forum - 10-02-2008, 06:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB