I have code that accesses a database and gets results based on the a number. Part of the result is a description of features. Right now I have it set up to display each row seperately, but it looks messy if I have ten results with the same type of feature. I want to be able to have it combine all "description"s that have the same "kind" and seperate them by a comma and then move on to the next "kind"... excuse me if I am a little unclear but here is the code
If those values are there for every row that is found then use tables to print the results on your html webpage. The left side for engine info and the right side for transmission info.
Hope this helps you a bit on the right track.. If i need to sort things then i usually do it through tables...