LunarIsSexy Posted September 28, 2013 Share Posted September 28, 2013 So I am making a basic Q&A Forum right quick. I made it so that it correctly stores the post title, content, author, etc... I'm just wondering how I could make it display all those on one single page using PHP without having to input each individually. I was thinking of doing something with the auto incremented ID but I'm not quite sure. Im familiar with PHP and SQL so its fine if you're blunt about it. I would also like to make some way to paginate this to limit 10 per page, anyone got any clue about this? It would be much appreciated! Quote Link to comment https://forums.phpfreaks.com/topic/282501-displaying-a-query/ Share on other sites More sharing options...
Ch0cu3r Posted September 28, 2013 Share Posted September 28, 2013 (edited) So you want to get all the Q&A's from your database and paginate the results? have a look at this http://www.phpfreaks.com/tutorial/basic-pagination Edited September 28, 2013 by Ch0cu3r Quote Link to comment https://forums.phpfreaks.com/topic/282501-displaying-a-query/#findComment-1451552 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.