Jump to content

[SOLVED] Navigation


nathan1

Recommended Posts

Yes it is possible.

 

Do something like this:

 

SELECT * FROM `table` LIMIT 0, 6 -> Gives you records 1-6

 

You will need to develop a counter or something along those lines....for example...you have something to add one to the last record count (6 + 1 = 7) and another for the last record to grab so for you (7 + 6 = 13).  You would use these results to get your next query.

 

SELECT * FROM `table LIMIT 7, 13 -> Gives you the next record (7) plus 6 (13).

Link to comment
https://forums.phpfreaks.com/topic/144290-solved-navigation/#findComment-757223
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.