Take a page and divide records up into sections, such as make of a vehicle, and sorted by year then mileage, each make section divided by a different labeling image.
Example:
--------=[Porsche]=---------
Porsche Car1 details listed here.
Porsche Car2 details listed here.
-------=[ Ferrari ]=--------
Ferrari Car1 details listed here.
Ferrari Car2 details listed here.
Please see http://www.premiercars.com/html/inventory.htm for an actual view of the page I am doing this with.
Would the best way to do this be to to seperate queries for each make section? I'm looking at around 14 makes of cars total giving me 14 queries for one page. Would this be horribly inefficient and bog the system down?
Example psudocode:
porsche.jpg
Select * from database WHERE make = "porsche"
Sort by year, mileage
ferrari.jpg
Select * from database WHERE make = "ferrari"
Sort by year, mileage
Am I on the right track here or is there a better way? Thanks.