I didn’t quite know how to thoroughly explain my question in the title, but here’s my idea:
My website takes user submissions and writes them to the database (they’re displayed on a new page). They’re ordered by time of submission (oldest first). I’d like to reverse the order they’re displayed in (so it would display newest submissions at the top), and only display 20-30 per page, creating a new page every time it exceeded that number. I’m new to php, and completely unsure on what to do here. Thanks for any help.(:
The term for this is pagination, and as the others have said, it is something that has to be handled by your query (as the issue isn’t just a matter of the UI, but also the number of records and their size returned from the database).