0

I am currently grabbing two result sets from two different tables with the same column structure.

Is it possible to do something like array_merge on these two sets of data and merge them into one set so that I can paginate the results in the view?

Jeffrey L. Roberts
  • 2,844
  • 5
  • 34
  • 69

1 Answers1

0

One of the possible solutions is to use CakePHP's Hash class and combine function.

https://book.cakephp.org/3.0/en/core-libraries/hash.html

Gaurav Neema
  • 280
  • 3
  • 11