Jump to content

Recommended Posts

OK, After several posting page will be filled. If I keep every posting and comments on same page it will be rally long and potentially take long time to load up. So I basically mean keeping all old thing on second, third and so on pages so user can only see latest posting. Sample is like http://math.uaa.alaska.edu/~csclub/.

On the bottom you can see pages 1, 2, 3, next. Hope this help.

sorry ....

 

well this sql paging try searching that in this forum and you'll finds tons of it.. the concept of paging is this..

 

you will determine the total records of your DB

divide that into particular limit eg if you want to display tem records you will didvide it by ten

 

loop the result to have the numbers of paging

 

query your DB bearing the start and end as the limit of your query

 

eg.. select * from teng limit 5,10  <-- display records from 5 -1 0

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.