Blog

Latest News and Updates

Set limit on Magento Collection

-where $limit will be the number of results we want, $starting_from will be the index of the result set to be considered as starting point (note 0 is the index of first row)
-this will ouptput 5 records starting from 3rd record


Share this post