ESH/table.php
2024-10-23 18:28:06 +05:30

37 lines
1.9 KiB
PHP

<?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;
<<<<<<< .mine
?><tr><th>Appointment Date</th><th>Complaints</th><th>Examination Finding</th><th>Injury Type</th><th>
Treatment</th><th>FollowUP</th><th>Referral</th><th>Remarks</th></tr><?php
||||||| .r51
=======
?><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
>>>>>>> .r52
while($rowOfEmployee=mysqli_fetch_array($result)){
<<<<<<< .mine
?><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['followup']?></td><td><?php echo $rowOfEmployee['Referral']?></td><td><?php echo $rowOfEmployee['remarks']?></td></tr><?php
||||||| .r51
?><tr><td><?php echo $rowOfEmployee['fname']?></td><td><?php echo $rowOfEmployee['lname']?></td><td><?php echo $rowOfEmployee['father_name']?></td></tr><?php
=======
>>>>>>> .r52
?><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');
?>