Record Navigation - PHP/MySQL

Associate
Joined
1 May 2006
Posts
810
Location
Bristol, UK
Seems I'm about quite a bit now, the plague of the H,G&P forum :p
Oh well, this is what happens when I try to learn things :p

Using Dreamweaver I was always able to create record navigation bars (first, last, next & previous) and repeating regions.
In line with My Thread last night I've decided to remove Dreamweavers bloated auto-code from the website I had started 5 hours before and hand code it all instead. However, I've got so far and now I'm stumped.

The Problem:
I have a recordset (containing blog posts) that, depending on how often I update it, will have a lot of records.
I'm trying to limit this number to 5 per "page" and use the aforementioned nav buttons to switch between "pages".
I literally have NO idea where to start. ANYTHING would be helpful at this point.

Thanks a bundle guys.
 
Cheers probedb

I did some research on the LIMIT function and somehow it just worked :p
Going to have a play with some variables.

Thanks for the clue-in :)
 
Back
Top Bottom