Jump to content

Question about page numbering rules of message boards


Recommended Posts

Hi,

I am developing a very very simple board which only displays some results from mysql. Currently, the results are being displayed with table tag on a browser as follows:

 

no.| phone        | age

3  | 333-3333  |  30

2  | 222-2222  |  20

1  | 111-1111  |  10

 

All I want to do is that if mysql returns more than 20 results the 21st should appear at the next page. And if it returns more results the page number should be added autometically. I don't need to have an actual code but just a conceptual explanation because I want to have a go.

 

Thanks.

 

 

Link to comment
Share on other sites

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.