i am allowing user to view books in two ways: either "list" view or by "grid" view. so i thought to receive a parameter as grid or list and show the view page as parameter received. But i don't know how to handle this in controller of codeigniter.
And also i already have pagination on my page. My url is showing http://localhost/thebestbookfinder.com/viewallbooks/books/pgn/9
and in this i want to pass a parameter like view=grid or view=list and i have to receive it in my controller.
so may be my url will be :
http://localhost/thebestbookfinder.com/viewallbooks/books/pgn/9/grid
then how i will receive it in my controller.
Please help me to solve this problem.