Quote:
|
Originally Posted by blackcode
i know how to display things in a mysql database, what i actually need is to limit my while loop to only display the first 20 things in the database and then have a next button to see the next 20 things in the database.
|
You know, you could probably solve half your programming problems by using Google. Just search for the answer and you'll almost certainly find it. People here get annoyed when they see someone asking questions without even *trying* to find it themselves first. I mean, really, this is NOT that hard to find using Google or any search engine. The fact that you haven't made the slightest apparent attempt at solving this yourself doesn't make me want to help you.
Now, if you came in here asking if anyone had pagination code to share, no problem. That's different. I have pagination code (which I've posted here before), but you wouldn't even take the time to look and see if this question had been answered before. Why should I have to post it repeatedly because you won't take a moment to try and help yourself?
Now, go to Google and type "php pagination example". Voila, problem solved.