[eluser]Maxim7[/eluser]
Hello
Well I was wodering how to get some data from the Route file:
For example in my route.php file i have this:
Code:
$route['talent/man/(:any)'] = "skills/$1";
When I use this
Code:
$this->uri->segment(2, 0)
I get
man, and I would like to get $1 so I would like to get data from this part
and not from the route.
(I know that I can just set to get the costume data
Code:
$this->uri->segment(3, 0)
but I don't want this way.
Thanks
EDIT: found the solution it's
Code:
$this->uri->rsegment()