Pagination problem! |
[eluser]skylerrichter[/eluser]
its hard to say exactly cause I don't know what your database stucture looks like, but you need to add your limit and offset to your images query $images = $this->db->query("SELECT * FROM images WHERE page = ". intval($id->id)) typicaly it would look like this $this->db->limit(2, $this->uri->segment(4)) where '2' is the amount of images you want to show per page, and $this->uri->segment(4) is the offset determined by the pagination class. here is a quick screencast on the pagination class http://net.tutsplus.com/videos/screencas...agination/ |
Messages In This Thread |
Pagination problem! - by El Forum - 12-13-2009, 02:29 PM
Pagination problem! - by El Forum - 12-13-2009, 03:24 PM
Pagination problem! - by El Forum - 12-13-2009, 05:31 PM
Pagination problem! - by El Forum - 12-14-2009, 10:12 AM
Pagination problem! - by El Forum - 12-14-2009, 01:00 PM
Pagination problem! - by El Forum - 12-14-2009, 02:54 PM
Pagination problem! - by El Forum - 12-14-2009, 04:02 PM
Pagination problem! - by El Forum - 12-14-2009, 04:07 PM
Pagination problem! - by El Forum - 12-14-2009, 04:11 PM
Pagination problem! - by El Forum - 12-14-2009, 04:12 PM
Pagination problem! - by El Forum - 12-14-2009, 04:15 PM
Pagination problem! - by El Forum - 12-14-2009, 04:23 PM
Pagination problem! - by El Forum - 12-14-2009, 04:31 PM
Pagination problem! - by El Forum - 12-14-2009, 04:50 PM
|