[eluser]Shiju S S[/eluser]
I have baseurl is set like
Code:
$config['base_url'] = base_url().'frontpage/categorywiseview/'.$ucategory;
// ucategory is passed as a parameter for next search
The function is defined as
Code:
public function categorywiseview($category,$offset=1)
{
}
The route is
Code:
$route['frontpage/categorywiseview/(:any)/(:any)'] = "frontarea/frontpage/categorywiseview/$1/$2";
I am getting the data displayed correctly page wise. The problem is in the page number. The first page or 1 is always selected. Actually page number 2 should be highlighted when I click 2.