ESH/checkup_section_pdf.php
2024-10-23 18:28:06 +05:30

42 lines
1.2 KiB
PHP

<?php include('pdf_header.php');
include('includes/config/config.php');
include('includes/functions.php')
//include('includes/config/config.php');
//include('includes/functions.php');
//include('pop_up_top.php
?>
<link href="includes/css-js/admin.css" rel="stylesheet" type="text/css" />
<body>
<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>CHECKUP SECTION INFORMATION</strong></td>
<td width="25%" align="left"> User : <?php echo $username ?></td>
</tr>
</table>
<table border="1" width="100%">
<?php
$sql="select * from checkup_section_master";
//echo $sql;
error_log("line 23 errorrr".$sql);
$result = mysqli_query($conn,$sql);
//echo $result;
?><tr bgcolor="#eeeeee" ><th width=10%;>SR. NO</th><th width=30%;>CHECKUP SECTION</th><th width=40%;>DESCRIPTION</th></tr><?php
$count=1;
while($rowOfEmployee=mysqli_fetch_array($result)){
?><tr><td><?=$count++?></td><td><?=$rowOfEmployee['checkup_section_name']?></td><td><?=$rowOfEmployee['description']?></td></tr><?php
}
?>
</table>
</body>
<?php
include('pdf_footer.php');
?>