I have a PHP API which returns records from a database as JSON. I created code to display the URL to the previous and next page of records.
I can\'t get the paginatio