"); echo("HostnameDescriptionNamePart NoSerial No"); while($entry = mysql_fetch_array($query)) { if($bg == $list_colour_a) { $bg = $list_colour_b; } else { $bg=$list_colour_a; } echo("" . generatedevicelink($entry, shortHost($entry['hostname'])) . "" . $entry['entPhysicalDescr'] . "" . $entry['entPhysicalName'] . "" . $entry['entPhysicalModelName'] . "" . $entry['entPhysicalSerialNum'] . ""); } echo(""); ?>