Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Dec 2009
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Limiting Table Results?

    Hello,

    Sorry if this is in the wrong place. I couldn't decide if the problem I have would be solved with html/css or on the server side.

    I have a MySQL database which contains 100 plus rows. I have used PHP to echo the results out into a html table and have made some search boxes to refine the results. What I want to do is have the table so it is limited to say 30 results but then the user can click a button or link to display the next thirty results. Has anyone got any ideas or is this something I should be asking on the PHP forum?

    Thanks in advance,

    James

  • #2
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by d42mcy View Post
    Hello,

    Sorry if this is in the wrong place. I couldn't decide if the problem I have would be solved with html/css or on the server side.

    I have a MySQL database which contains 100 plus rows. I have used PHP to echo the results out into a html table and have made some search boxes to refine the results. What I want to do is have the table so it is limited to say 30 results but then the user can click a button or link to display the next thirty results. Has anyone got any ideas or is this something I should be asking on the PHP forum?

    Thanks in advance,

    James
    look for a pagination script or write your own. This belong to php.

    best regards

  • #3
    New Coder
    Join Date
    Dec 2009
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts
    thank-you


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •