How to add "View more results" kind of functionality in my PHP based website?
1 Answer(s)      5 years and 7 months ago
Posted in : PHP


I want to make a website which will recommend users books according to the genre selected by them. I am using PHP, JavaScript and mySQL.

The problem is that there will me almost more than 100 books for a particular genre. I want to display only 10 books at a time and subsequent next 10s to be viewed after clicking a link/button/whatever mentioning -"Next 10 recommendations".

Please tell me what code should I use. Or is there any workaround for it? (what Facebook uses for it (Older posts) link in the bottom of every wall?)


View Answers

August 29, 2011 at 11:41 AM

hi somerandomguy,

u can solve your problem using pagination.
u just search pagination examples and manage with your page.


Related Tutorials/Questions & Answers: