Pagination from library causing problem, help needed. |
[eluser]geshan[/eluser]
I'm working on a library which needs pagination the code for the generation of pagination link is as follows (it is in the library): Code: function paginate($page_size){ Now the problem is: The next link always goes to http://localhost/myapp/index.php/mycontr...show_tbl/5 which ever the current page is like if I click next from http://localhost/myapp/index.php/mycontr...how_tbl/15 (page 4)it goes to 2nd page i.e, base_url/5 and page 1 has no link in any case. There are no previous or first link thought I'm at page x (any page). I'm not getting what is the problem and what am I doing wrong. This same function seem to work in a controller but its not working here. Please help. |
Messages In This Thread |
Pagination from library causing problem, help needed. - by El Forum - 04-14-2008, 11:50 PM
Pagination from library causing problem, help needed. - by El Forum - 07-11-2008, 08:25 AM
Pagination from library causing problem, help needed. - by El Forum - 07-11-2008, 11:42 AM
|