PHP code example of noking50 / pagination

1. Go to this page and download the library: Download noking50/pagination library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

noking50 / pagination example snippets


return [
    'items' => 10,
    'pages' => 10,
    'data_display' => [
        10 => '10',
        25 => '25',
        50 => '50',
        100 => '100',
    ],
];