Jump to content

[SOLVED] paging system


regdude

Recommended Posts

Hi!

I have been working on a paging system for a while.

I came up how to tell which page I am on and how to tell how many pages will be needed for X articles using "CEIL" etc.

Now I am stuck!

Can't figure out how could I tell the script to pick the right articles from DB.

This could be a lot easier if there were not a "visible" option that makes a choice to show the article or not.

I used OFFSET, LIMIT but couldn't simply figure out how can I make this work.

Maybe someone has a simple and a good example for this?

Link to comment
https://forums.phpfreaks.com/topic/113552-solved-paging-system/
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.