Pagination using ajax in codeigniter 4 |
Well then; i will use the default pagination which comes with codeigniter 4 but i really do need assistance as the tutorials am seeing online, pagination is created by accessing the model directly like so.
PHP Code: $this->model->paginate(5) PHP Code: public function stockphotopagination($where) { And in the StockController.php PHP Code: public function home() { And in home.php view: PHP Code: foreach($results as $row) { How do i create pagination for this? |
Messages In This Thread |
Pagination using ajax in codeigniter 4 - by coderscvoen - 06-06-2021, 12:47 PM
RE: Pagination using ajax in codeigniter 4 - by InsiteFX - 06-06-2021, 08:54 PM
RE: Pagination using ajax in codeigniter 4 - by coderscvoen - 06-07-2021, 12:37 AM
RE: Pagination using ajax in codeigniter 4 - by InsiteFX - 06-07-2021, 08:57 PM
RE: Pagination using ajax in codeigniter 4 - by coderscvoen - 06-07-2021, 10:03 PM
RE: Pagination using ajax in codeigniter 4 - by InsiteFX - 06-08-2021, 01:05 AM
RE: Pagination using ajax in codeigniter 4 - by coderscvoen - 06-08-2021, 10:58 AM
RE: Pagination using ajax in codeigniter 4 - by InsiteFX - 06-08-2021, 08:53 PM
RE: Pagination using ajax in codeigniter 4 - by coderscvoen - 06-08-2021, 09:34 PM
|