dbol Posted June 8, 2010 Share Posted June 8, 2010 I'm currently using simplexml_load_string to load the xml into the variable, and then a for loop to extract all the records at one time. What I want to do though is extract records 1-50 and place them on page 1, and records 50-100 to be put on page 2. Is this possible? My current for loop looks like: foreach ($items as $item){ echo "<b>" . $item->title . "</b><br/>"; } ?> Link to comment https://forums.phpfreaks.com/topic/204235-how-can-i-extract-specific-records-like-50-100-from-an-rss-xml-feed/ Share on other sites More sharing options...
premiso Posted June 9, 2010 Share Posted June 9, 2010 You may be interested in Pagination. http://www.phpfreaks.com/tutorial/basic-pagination Link to comment https://forums.phpfreaks.com/topic/204235-how-can-i-extract-specific-records-like-50-100-from-an-rss-xml-feed/#findComment-1069760 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.