Laserlight, thank you so much for your help. This is exactly what I'm looking for.
Unfortunately, my output is close but not quite there...It appears $room_number and $computer_ids is coming out null. Here's what the output looks like.
UPDATE table SET room_number = '' WHERE computer_id_number IN ('','','','','','','','','','','','','','','')
UPDATE table SET room_number = '' WHERE computer_id_number IN ('','','','')UPDATE table SET room_number = '' WHERE computer_id_number IN ('')
UPDATE table SET room_number = '' WHERE computer_id_number IN ('')
UPDATE table SET room_number = '' WHERE computer_id_number IN ('')
UPDATE table SET room_number = '' WHERE computer_id_number IN ('')
UPDATE table SET room_number = '' WHERE computer_id_number IN ('','','','','','','','')
is the problem in this block?
else
{
$entries[$room_number][] = mysql_real_escape_string($line);
//print_r ($entries[$room_number]);
}