I know how to work with table and while to populate query table.

now my question is:
if i want instead of showing row after row to show a row with 4 columns BUT each col' is an entry by it self

is it possible?

example :
i have this now
row 1 - id1
row2 - id2

i want
col1 col2 col3 col4
row 1 - [id1] [id2] [id3] [id4]
row 2 - [id5] [id6] [id7] [id8]

hope you got it