43 lines
1.0 KiB
PHP
43 lines
1.0 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:30px"><strong>Side Effect List</strong></td>
|
|
<td width="25%" align="left"> User :
|
|
<?php echo $username ?>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table border="1">
|
|
<?php
|
|
$sql="select sideeffect_id, sideeffect_name from side_effects";
|
|
//echo $sql;
|
|
$result = mysqli_query($conn,$sql);
|
|
//echo $result;
|
|
?>
|
|
<tr bgcolor='#eeeeee'>
|
|
<th width=25%>SR </th>
|
|
<th width=25%>Side Effects</th>
|
|
</tr>
|
|
<?php
|
|
$count=1;
|
|
while($rowOfPlant=mysqli_fetch_array($result)){
|
|
?>
|
|
<tr>
|
|
<td><?php echo $count ?></td>
|
|
<td><?php echo $rowOfPlant['sideeffect_name']?></td>
|
|
</tr>
|
|
<?php
|
|
$count++;
|
|
}
|
|
?>
|
|
</table>
|
|
<?php
|
|
include('pdf_footer.php');
|
|
?>
|