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

28 lines
1.0 KiB
PHP

<?php include('pdf_header_reverse.php');
include('includes/config/config.php');
include ('includes/functions.php');
//include('pop_up_top.php');
?>
<table border="1">
<?php
$sql_waste_category="select * from waste_category ";
//echo $sql;
$result_waste_category = mysqli_query($conn,$sql_waste_category);
//echo $result;
?><tr bgcolor='#eeeeee'><th width=5% align="center">Sr</th><th width=20% align="center">Waste Category Name</th><th width=15% align="center">Waste Category Description</th>
</tr><?php
$count=1;
while($row_waste_category=mysqli_fetch_array($result_waste_category)){
//$waste_category_name=getTableFieldValue('waste_category','waste_category_name','waste_category_id', $row_bio_medical_waste['waste_category']); ?>
<tr><td align="center"><?php echo $count;?></td><td align="center"><?php echo $row_waste_category['waste_category_name'];?></td><td align="center"><?php echo $row_waste_category['waste_category_desc']?></td>
</tr><?php $count++;
}
?>
</table>
<?php
include('pdf_footer.php');
?>