Jump to content

db records on Pages


Liam-a-

Recommended Posts

You'd count how many records there are in total first, then use your mySQL select query using the LIMIT command to get 5 records. 

 

Then, calculate your page links based on your total record count from above.

 

There are lots of tutorials on page navigation in PHP - search around in Google.

Link to comment
https://forums.phpfreaks.com/topic/118095-db-records-on-pages/#findComment-607572
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.