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

[eluser]Perkin5[/eluser]
Code:
userdate('current')
was the entire URI - however, having asked the question, I had another idea.
I used this:

Code:
$this->session->set_userdata('current',$this->uri->segment(3));

Which appears to have successfully grabbed the third segment. So now I can do:

Code:
redirect('shop/item/'.$this->session->userdata('current'));

and that seems to work. Am I doing that the right way?


Messages In This Thread
Pagination URI - by El Forum - 03-13-2012, 08:59 AM
Pagination URI - by El Forum - 03-13-2012, 09:05 AM
Pagination URI - by El Forum - 03-13-2012, 09:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB