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

22 lines
848 B
PHP

<?php include('pdf_header.php');
include('includes/config/config.php');
//include('pop_up_top.php');
$hiddenid=$_REQUEST['hiddenid'];
?>
<table class="col-sm-offset-5" border="1">
<?php
$sql="select date_absent,date_return,agency,sickness_name,des from sickness where emp_id='".$hiddenid."' ";
//echo $sql;
$result = mysqli_query($conn,$sql);
//echo $result;
?><tr><th>Date Absent </th><th>Return Absent</th><th>Agency</th><th>Name</th><th>Discription</th></tr><?php
while($rowOfEmployee=mysqli_fetch_array($result)){
?><tr><td><?php echo $rowOfEmployee['date_absent']?></td><td><?php echo $rowOfEmployee['date_return']?></td><td><?php echo $rowOfEmployee['agency']?></td><td><?php echo $rowOfEmployee['sickness_name']?></td><td><?php echo $rowOfEmployee['des']?></td></tr><?php
}
?>
</table>
<?php
include('pdf_footer.php');
?>