[eluser]pickupman[/eluser]
You can access segments using:
Code:
$this->uri->segment(3); //Get third segment
$this->uri->segment(4); //Get forth segment
An alternative method would be passing segments to method:
Code:
function your_method($segment_3 = FALSE, $segment_4 = FALSE){
echo $segment_3; //third segment
echo $segment_4; //forth segment
}
Or you can use $this->uri->uri_to_assoc(n) where odd numbered segments will be an array key and even numbered segments will be the array value. You can then use the associative array as you need to. Sometimes in a form, you may not know what the exact order of segments are. So you can use this function to make sense of the pairs.