ince I would have to define chunks of items and the same number of items would be displayed on each page
Using array_chunk()
with a chunk size of 10 will create one array with 10 items and the other one with 9 items. So, this code shall work fine.
If it does not, please post the PHP code that you're currently using.