I have 2 sets of rows retrieved from 2 different tables. Is there any function in MySQL or PHP so that I can merge those 2 sets of rows and let each row mixed with another for 2 sets?
I mean the 1st row in the new set is from set 1 and the 2nd row is from set 2, and the 3nd row is from set 1, and the 4th one is from set 4, and so on. If one set has more rows than another, then simply append the rest to the end.
Thanks