ReeceSayer Posted March 18, 2010 Share Posted March 18, 2010 Sorry not sure if this is the right place to post this. What i want to do is display 5 rows of my database then click next and display the next 5 and so on. The way i was trying to go about it was using a switch case to increase the number of rows displayed. I am open to suggestions on other methods of doing this or i can post my code, but i have run into problems and i can see its not going to be easy the way i've attempted it. Thanks alot, Reece Link to comment https://forums.phpfreaks.com/topic/195629-displaying-next-5-results-from-databse/ Share on other sites More sharing options...
satre Posted March 18, 2010 Share Posted March 18, 2010 Here are a couple of nice tutorials. Be sure to read the improvements in the replies at the bottom. http://www.php-mysql-tutorial.com/wikis/php-tutorial/paging-using-php.aspx http://www.evolt.org/node/19340 Link to comment https://forums.phpfreaks.com/topic/195629-displaying-next-5-results-from-databse/#findComment-1027882 Share on other sites More sharing options...
ReeceSayer Posted March 18, 2010 Author Share Posted March 18, 2010 Here are a couple of nice tutorials. Be sure to read the improvements in the replies at the bottom. http://www.php-mysql-tutorial.com/wikis/php-tutorial/paging-using-php.aspx http://www.evolt.org/node/19340 Thanks alot, ive never done paging before, i wasn't even sure what it was called. I'll have a read through Link to comment https://forums.phpfreaks.com/topic/195629-displaying-next-5-results-from-databse/#findComment-1027883 Share on other sites More sharing options...
ReeceSayer Posted March 18, 2010 Author Share Posted March 18, 2010 Thanks alot that tutorial has done just fine. Sorry for posting such a simple query Link to comment https://forums.phpfreaks.com/topic/195629-displaying-next-5-results-from-databse/#findComment-1027893 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.