url and defualt function in controller |
[eluser]italoc[/eluser]
i need that controller work in this way url: http://domain.com/controller/value and in controller i have this situation Code: <?php can you help me?
[eluser]Pedro Luz[/eluser]
Code: class Base extends CI_Controller { http://domain.com/base/5
[eluser]guidorossi[/eluser]
It should be: Code: <?php and in config route.php Code: $route['example/:any'] = "example/index";
[eluser]InsiteFX[/eluser]
It depends on if he is running CI 1.7.X or CI 2.0.0 InsiteFX |
Welcome Guest, Not a member yet? Register Sign In |