Welcome Guest, Not a member yet? Register   Sign In
Rewrite url, I can't get id by segment on this url ???

Hello, I have a problem.
my url is http://localhost/ci/category/45
Now I use routes to order rewrite this url follow: http://localhost/ci/category-45
With new url http://localhost/ci/category-45 . I can't get id of category . Who can help me???

Who can help me? , I needing it's to use, thanks for

[eluser]Php Coder[/eluser]
use function explode


mean your $this->uri->segment(1);

Ok, thanks for Php coder

Theme © iAndrew 2016 - Forum software by © MyBB