46 lines
1.3 KiB
PHP
46 lines
1.3 KiB
PHP
<?php include('pdf_header.php');
|
|
//include('includes/config/config.php');
|
|
//include('pop_up_top.php');
|
|
?>
|
|
<table width="100%">
|
|
<tr>
|
|
<div style="font-size:12px">
|
|
<td width="25%" align="left"> Run Date :
|
|
<?php echo date("d-M-Y"); ?>
|
|
</td>
|
|
<td width="50%" align="center" style="font-size:40px"><strong>DESIGNATION LIST</strong></td>
|
|
<td width="25%" align="left"> User :
|
|
<?php echo $username ?>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<center>
|
|
<table border="1">
|
|
<?php
|
|
$sql="select designation_id,designation_name,designation_code,designation_desc from designation";
|
|
//echo $sql;
|
|
$result = mysqli_query($conn,$sql);
|
|
//echo $result;
|
|
?>
|
|
<tr bgcolor='#eeeeee'>
|
|
<th width=33%> Designation Name</th>
|
|
<th width=33%>Designation Code</th>
|
|
<th width=33%>Designation Description</th>
|
|
</tr>
|
|
<?php
|
|
while($rowOfEmployee=mysqli_fetch_array($result)){
|
|
?>
|
|
<tr>
|
|
<td><?php echo $rowOfEmployee['designation_name']?></td>
|
|
<td><?php echo $rowOfEmployee['designation_code']?></td>
|
|
<td><?php echo $rowOfEmployee['designation_desc']?></td>
|
|
</tr>
|
|
<?php
|
|
|
|
}
|
|
?>
|
|
</table>
|
|
</center>
|
|
<?php
|
|
include('pdf_footer.php');
|
|
?>
|