I have a SQL table with some 37 rows, and I need to display all of them on a page I'm writing.

I have it written right now just to output the column name, a colon, and then the value, but it's rather ugly. What I'd like to do is have it formatted with or similar to a dataset. The only difference would be that the column names would be at the left and would go downdownwards, and the values would be to the right of those and also go downwards.

Is there any way I can do this?