• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pagination problem with parameters

#1
[eluser]woracal[/eluser]
hi all!

Stuck with pagination.

My URL is something like this

/index.php/category/getcategory/1 where 1 is the category number i need to display. Also need pagination on the page.

I'm currently using this in my controller

$config['base_url'] = base_url().'index.php/category/getcategory/'.$categoryid.'/'.$offset;

I've also set the $config['uri_segment'] = 4; so that it picks up the 4th elemsnt in the URI for pagination. Also tried different combinations. Still doesn't work!

REALLY appreciate any help. Stuck with this for a day now!


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.