<?php include('pdf_header.php');
//include('includes/config/config.php');
//include('pop_up_top.php');
?>
<table border="1">
<?php 
 $sql="select appointment_date,complaints,examination_remarks,injury_types,hospital_treatment,referral,followup,remarks from employee_appointment";
 //echo $sql;
 $result = mysqli_query($conn,$sql);
  //echo $result;
  ?><tr><th>Date</th><th>Complaints/Injury Details</th><th>Examination Findings</th><th>Diagnosis/Injury Type</th><th>Treatments</th><th>Referral</th><th>Follow-up</th>
  <th>Remarks</th></tr><?php 
while($rowOfEmployee=mysqli_fetch_array($result)){

  ?><tr><td><?php  echo $rowOfEmployee['appointment_date']?></td><td><?php  echo $rowOfEmployee['complaints']?></td><td><?php  echo $rowOfEmployee['examination_remarks']?></td>
  <td><?php  echo $rowOfEmployee['injury_types']?></td><td><?php  echo $rowOfEmployee['hospital_treatment']?></td><td><?php  echo $rowOfEmployee['referral']?></td>
  <td><?php  echo $rowOfEmployee['followup']?></td>
  <td><?php  echo $rowOfEmployee['remarks']?></td></tr><?php 

}
?>
</table>
<?php 
include('pdf_footer.php');
?>