21 lines
726 B
PHP
21 lines
726 B
PHP
<?php include('pdf_header.php');
|
|
include('includes/config/config.php');
|
|
//include('pop_up_top.php');
|
|
?>
|
|
<table border="1">
|
|
<?php
|
|
$sql="select ingredient_id,ingredient_name,ingredient_desc,ingredient_code from ingredient";
|
|
//echo $sql;
|
|
$result = mysqli_query($conn,$sql);
|
|
//echo $result;
|
|
?><tr bgcolor='#eeeeee'><th width=60%>Ingredient Name</th><th width=20%>Ingredient Desc</th><th width=20%>Ingredient Code</th> </tr><?php
|
|
while($rowOfEmployee=mysqli_fetch_array($result)){
|
|
|
|
?><tr><td><?php echo $rowOfEmployee['ingredient_name']?></td><td><?php echo $rowOfEmployee['ingredient_desc']?></td><td><?php echo $rowOfEmployee['ingredient_code']?></td></tr><?php
|
|
|
|
}
|
|
?>
|
|
</table>
|
|
<?php
|
|
include('pdf_footer.php');
|
|
?>
|