I've got a table that is four columns wide by many rows deep. Each column will have the results of a query of a particular table in a database. Machine - Users - CPU - Uptime Where machine is the name of the machine being monitored, the other columns will display any available data from that machine name (gathered from separate tables in the db). Whats the best way to go about doing this? Can you sort/match objects in an array in php based on a key-search? In other words, could I sort the Users column in the table to correspond with the appropriate machine entry? What if there is no machine entry for that column...will it skip over it or shift all the cells up? Aside from creating a loop to query the database for every machine name (100+ machines...thus creating a large load), is there another way? Suggestions? Thanks.