Pagination problem with parameters - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Pagination problem with parameters (/showthread.php?tid=1917) |
Pagination problem with parameters - El Forum - 07-05-2007 [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! |