Chrisp2408 Posted April 29, 2009 Share Posted April 29, 2009 Hi All, I have a MySQL database with a reasonable amount of fields associated with it and running the standard SQL Query, the page scrolls from left to right a lot! so becomes non realistic. So, I managed to figure out how to put it into a position where I can display one record at a time laid out in a table, but then need to scroll through the records with next and previous buttons.. I cannot find a simple solution that allows me to set a next and previous button to scroll to the next record and back to the previous record as and when necessary. Anyone got any swift ideas please? Desperate Chris Quote Link to comment https://forums.phpfreaks.com/topic/156095-a-simple-question-about-php-recordset-navigation/ Share on other sites More sharing options...
ignace Posted April 29, 2009 Share Posted April 29, 2009 What you are looking for is called pagination and here on phpfreaks we have a nice tutorial for you: http://www.phpfreaks.com/tutorial/basic-pagination Quote Link to comment https://forums.phpfreaks.com/topic/156095-a-simple-question-about-php-recordset-navigation/#findComment-821715 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.