Welcome Guest, Not a member yet? Register   Sign In
Passing Parameters To Index
#1

[eluser]Unknown[/eluser]
Hi

Presently I am working on sample site and I have done the pagination work which I found from some site.
It's working fine.But my question is can we pass parameters to default index page if so how can we do that?.
#2

[eluser]Murodese[/eluser]
You should be able to just by defining a route to that particular page. For a controller called gallery, you could do something like this:

(in config/routes.php)

Code:
$route['gallery(/.*)?'] = 'gallery/index.php$1';

Untested, try it and see.




Theme © iAndrew 2016 - Forum software by © MyBB