I have create a loop to get the results in pagination. But the program always skips over the page size . Example, if the page size is two and the datas are [1,2,3,4,5,6,7] I get