Link to home
Create AccountLog in
Avatar of Cesar Aracena
Cesar AracenaFlag for Argentina

asked on

How to make a good PHP + MySQL + JS pagination system?

Hi guys,

I'm making a fast food site where I'm using tabs to show different food categories. The tab's titles are fetched from MySQL (food categories - pizza, hamburgers, etc).

Inside each tab, I want to make a pagination system (so 100 types of pizza are not displayed at once). Paginating items is not difficult but in this case, "next page" shouldn't load a new page but only new items... so I'm guessing javascript is needed.

What would be a good and stable approach to this? Any examples out there? I found some but none exactly what I'm looking for.

Thanks in advance!
ASKER CERTIFIED SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Cesar Aracena

ASKER

Thank you very very much Ray. Perfect as always! Needed to be pointed in the right direction ;)
Avatar of Julian Hansen