21 lines
758 B
PHP
21 lines
758 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_advice_id,health_advice_name,health_advice_cat from health_advice";
|
|
//echo $sql;
|
|
$result = mysqli_query($conn,$sql);
|
|
//echo $result;
|
|
?><tr bgcolor='#eeeeee'><th width=33%>Health Advice Id</th><th width=33%>Health Advice Name</th><th width=33%>Health Advice Code</th></tr><?php
|
|
while($rowOfEmployee=mysqli_fetch_array($result)){
|
|
?><tr><td><?php echo $rowOfEmployee['health_advice_id']?></td><td><?php echo $rowOfEmployee['health_advice_name']?></td><td><?php echo $rowOfEmployee['health_advice_cat']?></td></tr><?php
|
|
|
|
}
|
|
?>
|
|
</table>
|
|
<?php
|
|
include('pdf_footer.php');
|
|
?>
|