$toolType Version Description "; for ($row = 0; $row < count($tools); $row++) { if ($tools[$row][2] == 1) { echo ""; echo $tools[$row][1] . ""; if ($tools[$row][3] == 1) { echo " "; } echo getCalibrationResult($tools[$row][0] . ""); echo " "; echo $tools[$row][5] . ""; echo " "; } } echo ""; } ?>