21 lines
580 B
PHP
21 lines
580 B
PHP
<?php include('pdf_header.php');
|
|
include('includes/config/config.php');
|
|
//include('pop_up_top.php');
|
|
?>
|
|
<table border="1">
|
|
<?php
|
|
$sql="select unit_id,unit_name,unit_remarks from unit_master";
|
|
//echo $sql;
|
|
$result = mysqli_query($conn,$sql);
|
|
//echo $result;
|
|
?><tr bgcolor='#eeeeee'><th width=50%>Unit Name</th><th width=50%>Remarks</th></tr><?php
|
|
while($rowOfEmployee=mysqli_fetch_array($result)){
|
|
|
|
?><tr><td><?php echo $rowOfEmployee['unit_name']?></td><td><?php echo $rowOfEmployee['unit_remarks']?></td></tr><?php
|
|
|
|
}
|
|
?>
|
|
</table>
|
|
<?php
|
|
include('pdf_footer.php');
|
|
?>
|