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";

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.