View Full Version : PHP/MySQL question

03-04-2009, 06:29 AM
Okay...don't hurt me too bad, I'm a newbie to PHP/MySQL :thumbsup:

I've set up my database, created my table, built my php code and called up my data....all works no problem. Even looks good, however it's 110 rows long and I'd like to break it up into 35 rows at one time...so If you could tell me how to make multiple pages that link to each other that would be very helpful.

2nd question - is there a way to make the data sortable on the webpage?

Thanks in advance to anyone who answers!


03-04-2009, 06:32 AM
What you need is a PHP+MySQL+Pagination (http://www.google.com/search?q=PHP%2BMySQL%2BPagination)

There is a good snippet posted by Fou-Lu at http://www.codingforums.com/showthread.php?t=151398