Friday, 6 July 2018

How to display only a few DB records and then add new?

Hi, the title probably isn't self explanatory so I will explain my question in more detail here. Suppose I have a profile route on which I display the user's comments. The user will probably have a lot of comments so I can't display them all at once. My question basically is how do I display only a few of those comments and then the user has a button on the bottom of the page "show more" which displays more comments (Reddit has the exact same thing).How can I do it preferably without reloading the page? Thanks in advance ;)

Submitted July 06, 2018 at 06:13PM by everek123

No comments:

Post a Comment