<th><?php $count = 0; echo "S.No."; ?> </th> <th>Test Name</th> <th>Test ID</th> <th>Patient Name</th> <th>Patient ID</th> <th>Specimen ID</th> <th>Date of Result Entry</th> </tr> </thead> <tbody> <?php $all_entries = $ust->getResultEntryLog($user_id, $lab_config_id, $date_from, $date_to); foreach ($all_entries as $entry) { ?> <tr> <td> <?php $count++; echo $count; ?> </td> <td> <?php $tname = get_test_name_by_id($entry->testTypeId); if ($tname != '') { echo $tname;