EllisLab text mark
Advanced Search
     
Pagination problem with parameters
Posted: 05 July 2007 05:40 AM   [ Ignore ]
Joined: 2007-06-13
11 posts

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!

 Signature 

http://www.straightlineprofits.com
Living Online