More than two parameters |
Hi, people!!
In first place, excuse me for my english (i'm from Colombia). I'm a PHP developer but is my first experience with Codeigniter (i love it!). I need pass three parameters in a rute like this: https://mydomain.com/myapp/Controller/fu...am2/param3 With two parameters is all perfect but is not working with three. ¿Is not possible? ¿suggestions? Thanks!!
You need to setup a route for it in the ./application/config/routes.php file,
something like this just an Example: PHP Code: $route['login/(.+)'] = 'auth/login/$1'; For more see the CodeIgniter Users Manual on URI Routing. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
You can also use this from the CodeIgniter Users Guide - URI Class.
PHP Code: $this->uri->segment(2, 0); What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |