View Full Version : Creating a list with MySQL database

11-23-2011, 04:06 PM
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.

11-23-2011, 04:25 PM
Have a look into php+mysql+pagination (http://www.google.com/search?q=php%2Bmysql%2Bpagination)

11-23-2011, 04:35 PM
Have a look into php+mysql+pagination (http://www.google.com/search?q=)

Hmm, thanks this answers a part of my question:).

11-24-2011, 08:53 AM
I've fixed this. This can be locked.