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!
PHPJavaScriptWeb Development

Avatar of undefined
Last Comment
Julian Hansen
ASKER CERTIFIED SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
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
JavaScript
JavaScript

JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and in almost every mainstream web browser.

127K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo