Forum Moderators: coopster
If I understand right, what you want to do is handle this with CSS. It isn't really a PHP question at all.
You need a left hand column that holds the first data field and a right hand col that holds any associated data. Each row consists of one cell on the left and however many cells are needed on the right.
Is that close?
Remember, PHP doesn't control layout per se. It processes and creates the HTML and CSS that will control layout. You need to figure out your destination first and then figure out how to get there.
Cheers,
Tom