PDA

View Full Version : here's a tough one for ya...



Lucky13
May 27th, 2001, 20:29
I want to show a list of stuff from an SQL query 25 records at a time. I want to have << First < Prev Next > Last >> links at the bottom of the page. Any ideas?

Thank you very much.
~Lucky13

BillWill
May 27th, 2001, 20:46
Just run a LIMIT 0, 24 and for the next on 25, 49 then 50, 74, etc.

Use a variable in your next/prev links to keep track.

Check out PHPBuilder.com as they have a tutorial on this too. =)

Lucky13
May 27th, 2001, 20:48
OK, I'll mess around with that. Thanks a lot

~Lucky13