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

21 lines
709 B
PHP

<?php include('pdf_header.php');
//include('includes/config/config.php');
//include('pop_up_top.php');
?>
<table class="col-sm-offset-5" border="1" width="100%">
<?php
$sql="select id,canteen_location , canteen_code from canteen_master";
//echo $sql;
$result = mysqli_query($conn,$sql);
//echo $result;
?><tr bgcolor='#eeeeee'><th width=3%>Id</th><th width=70%>Canteen Location</th><th width=10%>Canteen Code</th></tr><?php
while($rowOfEmployee=mysqli_fetch_array($result)){
?><tr><td><?php echo $rowOfEmployee['id']?></td><td><?php echo $rowOfEmployee['canteen_location']?></td><td><?php echo $rowOfEmployee['canteen_code']?></td></tr><?php
}
?>
</table>
<?php
include('pdf_footer.php');
?>