raven2009 Posted May 10, 2009 Share Posted May 10, 2009 hi all can anyone help im looking for a way to split my stores up so after 20 products it displays a next page and so on im not sure if this is the right code <?php $topStores="select * from retailers where category='$showCat' limit 1000"; //echo $topStores; $top_Stores=mysql_query($topStores); while($row=mysql_fetch_array($top_Stores)) { ?> thanks in advance Link to comment https://forums.phpfreaks.com/topic/157608-displaying-next-page/ Share on other sites More sharing options...
Ken2k7 Posted May 10, 2009 Share Posted May 10, 2009 Read up on pagination. Here's a tutorial by Crayon Violet - http://www.phpfreaks.com/tutorial/basic-pagination Link to comment https://forums.phpfreaks.com/topic/157608-displaying-next-page/#findComment-831102 Share on other sites More sharing options...
raven2009 Posted May 10, 2009 Author Share Posted May 10, 2009 Read up on pagination. Here's a tutorial by Crayon Violet - http://www.phpfreaks.com/tutorial/basic-pagination ok thanks for that ill check that up now Link to comment https://forums.phpfreaks.com/topic/157608-displaying-next-page/#findComment-831231 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.