ohctech_p8/pdf_salt.php

40 lines
960 B
PHP
Raw Normal View History

2024-10-16 19:18:52 +05:30
<?php
include('pdf_header.php');
include_once("pdf_ohc_header.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:20px"><strong>Salt List</strong></td>
<td width="25%" align="left"> User : <?php echo $username ?></td>
</tr>
</table>
<table width="100%">
<?php
$sql = base64_decode($filterkey);
error_log("pdf fitness:" . $sql);
$result = mysqli_query($conn, $sql);
?><tr bgcolor='#eeeeee'>
<th>Sr.No</th>
<th>Salt Name</th>
</tr>
<?php $count = 1;
while ($rowOfEmployee = mysqli_fetch_array($result)) {
?><tr>
<td align='center'><?php echo $count ?></td>
<td align='center'><?php echo $rowOfEmployee['salt_name'] ?></td>
</tr><?php
$count++;
}
?>
</table>
<?php
include('pdf_footer.php');
?>