test | pass rate | count | description | ||
---|---|---|---|---|---|
' . $row['test'] . " | "; $pass = intval($row['pass']); $fail = intval($row['fail']); if ($pass + $fail == 0) echo "N/A | "; else { $rate = 100 * $pass / ($pass + $fail); if ($rate > 95) echo '50) echo ' | ' . (int) (100 * $pass / ($pass + $fail)) . " % | "; } echo '' . $row['num'] . " | "; echo ""; if (array_key_exists($row['test'], $tests)) echo $tests[$row['test']]; echo " | "; echo "