Welcome Guest, Not a member yet? Register   Sign In
Remove class name from url

[eluser]Suhas nazir[/eluser]
Hai All

I am trying to change the name of controller name from url its working but take a look at the below problem

i change the route as
Suppose if there is a parameter like this mycontroller/function_name/12';
the value 12 is not get in the function ...
How i rewrite the route to make it possible
Thanks in advance;

EDIT: removed. Bad advice Smile

I had a little error there.. Heres the correct one:
$route['function_name/(:any)'] = "controller/method/$1";

Theme © iAndrew 2016 - Forum software by © MyBB