ESH/pdf_medicine.php

45 lines
1.2 KiB
PHP
Raw Permalink Normal View History

2024-10-23 18:28:06 +05:30
<?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>Medicine Ferequency List </strong></td>
<td width="25%" align="left"> User :
<?php echo $username ?>
</td>
</tr>
</table>
<table border="1">
<?php
$sql="select frequency_id,frequency_description,medicine_frequency,qty from medicine_frequency";
//echo $sql;
$result = mysqli_query($conn,$sql);
//echo $result;
?>
<tr bgcolor='#eeeeee'>
<th width=33%>Frequency Description </th>
<th width=33%>Medicine Frequency</th>
<th width=33%>Daily Calculated Quantity</th>
</tr>
<?php
while($rowOfEmployee=mysqli_fetch_array($result)){
?>
<tr>
<td><?php echo $rowOfEmployee['frequency_description']?></td>
<td><?php echo $rowOfEmployee['medicine_frequency']?></td>
<td><?php echo $rowOfEmployee['qty']?></td>
</tr>
<?php
}
?>
</table>
<?php
include('pdf_footer.php');
?>