Mutley Posted May 22, 2007 Share Posted May 22, 2007 If I list all the rows in a database and "LIMIT 20", how do I make it so I can go to, the next 20 rows? Say if I have 50 rows, and only want to show 20 per a page? Quote Link to comment https://forums.phpfreaks.com/topic/52555-easy-way-to-make-pages-from-a-database-list/ Share on other sites More sharing options...
pocobueno1388 Posted May 22, 2007 Share Posted May 22, 2007 You need to use pagination. http://www.phpfreaks.com/tutorials/43/0.php Quote Link to comment https://forums.phpfreaks.com/topic/52555-easy-way-to-make-pages-from-a-database-list/#findComment-259313 Share on other sites More sharing options...
Mutley Posted May 22, 2007 Author Share Posted May 22, 2007 That seems more complicated than what I thought but thanks. Quote Link to comment https://forums.phpfreaks.com/topic/52555-easy-way-to-make-pages-from-a-database-list/#findComment-259324 Share on other sites More sharing options...
pocobueno1388 Posted May 22, 2007 Share Posted May 22, 2007 Yes, it is very complicated. I have to refer to a tutorial every time still when I use it...just to confusing, haha. Well, you should give it a shot, and if you can't get it to work...just post your code =] It really isn't too complicated if you just follow the steps, you should be just fine. Quote Link to comment https://forums.phpfreaks.com/topic/52555-easy-way-to-make-pages-from-a-database-list/#findComment-259339 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.