Home Answers Viewqa PHP How to add "View more results" kind of functionality in my PHP based website?

 
 


somerandomguy
How to add "View more results" kind of functionality in my PHP based website?
1 Answer(s)      a year and 9 months ago
Posted in : PHP

Hi,

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.

reply.









Related Pages:
add
add
PHP

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.