I want to retrieve info from my databse but display only the first ten items and have a 'next' button to display the next ten items.
How do i go about this?
Thanks in advance, djk. be good, but if you can't be good, be good at it!
I hate to do this, but this question has been asked and answered many, many times. If you'd just search the forums you'd find many answers. Or you could just go read the article someone wrote that covers it: http://www.phpbuilder.com/columns/rod20001214.php3
yes, it probably gets asked 2-5 times per week. . . atleast. Anyways, here is commented code I wrote for someone on this a while back: http://www.phpbuilder.com/board/showthread.php?s=&threadid=10219415&highlight=display
before you start copying and pasting read through the code and understand what it does and how it works. It's easy to follow; you should have no problem.
Cgraz