This is a tricky one to try and explain but basically I'm after the following.
These are my current results :
Item | Colours | Sizes | Prices
--------------------------------------------------
123 | Black,Blue,Green | 32,34,36 | 9.99
123 | Black,Blue,Green | 38,40,42 | 12.99
123 | Black,Blue,Green | 44,46,48 | 15.99
I need it to be displayed like this:
Item | Colours | Sizes | Sizes1 | Size2 | Prices | Prices1 | Prices2
-----------------------------------------------------------------------------------
123 | Black,Blue,Green | 32,34,36 | 38,40,42 | 44,46,48 | 9.99 | 12.99 | 15.99
So I need the columns to be dynamically created depending on the number of rows.
Hope that makes sense.