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

21 lines
739 B
PHP

<?php include('pdf_header.php');
//include('includes/config/config.php');
//include('pop_up_top.php');
?>
<table class="col-sm-offset-5" border="1">
<?php
$sql="select health_risk_id,health_risk_name,health_risk_cat from health_risk";
//echo $sql;
$result = mysqli_query($conn,$sql);
//echo $result;
?><tr bgcolor='#eeeeee'><th width=33%>Health Risk Id</th><th width=33%>Health Risk Name</th><th width=33%>Health Risk Code</th></tr><?php
while($rowOfEmployee=mysqli_fetch_array($result)){
?><tr><td><?php echo $rowOfEmployee['health_risk_id']?></td><td><?php echo $rowOfEmployee['health_risk_name']?></td><td><?php echo $rowOfEmployee['health_risk_cat']?></td></tr><?php
}
?>
</table>
<?php
include('pdf_footer.php');
?>