6
With this question that already has solution, I got as a result a paginação com PDO
but I have one more problem that will possibly be the subject of a reward next week.
As you can see in the image below, I have this pagination with +/- 1000 properties that divided by groups of 12 per page, will return me a total of +/- 90 pages that will be written in pagination form making me have 3 or 4 lines showing numbers that will lose meaning and will look monstrously horrible.
How can I limit the number of pages to be shown by repurposing the code shown within the answered question present in it? If you think it necessary, I will replicate the code inside it here.
I don’t understand... what do you want to limit? The number of linked pages (1 [...] 14)?
– Papa Charlie
Like, when I put it straight, it will appear 85 links and I need to limit to 10 for example otherwise it will look horrible this giant amount of links.
– Marcos Vinicius
I believe @Kaduamaral’s answer is what you want.
– Papa Charlie