lional Posted August 5, 2009 Share Posted August 5, 2009 Hi all I am writing data to a table based on date but I only want to show the last 5 dates. this I can do with the limit parameter. But if I want to pull the last 5 dates then I must say limit 5 dsc, but I want to view it from oldest date to the newest date. this is asc How can this be achieved Link to comment https://forums.phpfreaks.com/topic/168919-pulling-limited-data-from-a-table/ Share on other sites More sharing options...
PFMaBiSmAd Posted August 5, 2009 Share Posted August 5, 2009 You can use the method found in this post - http://www.phpfreaks.com/forums/index.php/topic,262605.msg1237786.html#msg1237786 Link to comment https://forums.phpfreaks.com/topic/168919-pulling-limited-data-from-a-table/#findComment-891271 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.