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 4 of 4
  1. #1
    Regular Coder
    Join Date
    Sep 2011
    Posts
    112
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Creating a list with MySQL database

    Well I was wondering how I can make a list with the information in my mysql database for example, I've 40 rows, and want to show up 10 "row fields" on one page. How could I do this the best way.

    I also want like page 1, 2, 3, 4 on the bottem of my page, as page one is to 1-10, page 2 links to 11-20 etc.

    Could someone explain me, what's the best way to do this.

    Many thanks.

    Edit: For example I want Username, firstname, last name and age in one div. And for the next user I want it in a new div.

    Like I've an div with all the columns in there, and a next div below there with the columns of row 2, and so on.
    Last edited by Krentenbol; 11-23-2011 at 07:41 PM.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,801
    Thanks
    160
    Thanked 2,216 Times in 2,203 Posts
    Blog Entries
    1
    Have a look into php+mysql+pagination
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    Regular Coder
    Join Date
    Sep 2011
    Posts
    112
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by abduraooft View Post
    Have a look into php+mysql+pagination
    Hmm, thanks this answers a part of my question.

  • #4
    Regular Coder
    Join Date
    Sep 2011
    Posts
    112
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I've fixed this. This can be locked.


  •  

    Posting Permissions

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