Pagination not performing proparly - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Pagination not performing proparly (/showthread.php?tid=57337) |
Pagination not performing proparly - El Forum - 03-07-2013 [eluser]ede196620[/eluser] am working on a pagination for my website its first time i am trying to make this work the problem is that the pagination dose not turn pages when the number of the link is clicked. i very new to codeigniter and php and cant figure this out i tout this would be a great place to start to get some advice. Here is my code : Controller Code: class Result_controller extends CI_Controller{ model Code: class Result_model extends CI_Model{ and my view Code: <html> Pagination not performing proparly - El Forum - 03-08-2013 [eluser]Harold Villacorte[/eluser] If the links are getting generated then the pagintation is working correctly. I don't see anywhere in your controller code where you are passing an array of objects called $query to the view. All I see is an array of arrays called $records. Pagination not performing proparly - El Forum - 03-12-2013 [eluser]ede196620[/eluser] tnx for the replay i fixed the problem. |