corrupshun Posted January 14, 2010 Share Posted January 14, 2010 How can i do this is mysql/php? I want to have pages with posts, like a forum, when ?page=1 it will show results 1-10 on ?page=2 it will show results 11-20 is it difficult? I know how to use the get method but i want to know the sql thanks! Quote Link to comment https://forums.phpfreaks.com/topic/188503-show-only-results-1-10-when-page1-and-etc/ Share on other sites More sharing options...
Maq Posted January 14, 2010 Share Posted January 14, 2010 What you are describing is termed 'pagination'. This tutorial should help: http://www.phpfreaks.com/tutorial/basic-pagination Quote Link to comment https://forums.phpfreaks.com/topic/188503-show-only-results-1-10-when-page1-and-etc/#findComment-995173 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.