<?php //include('pdf_header.php');
include('includes/config/config.php');
//include('pop_up_top.php');
header('Content-Type: application/force-download');
header('Content-disposition: attachment; filename=excel_manufacture.xls');
?>
<table border="1">
<?php 
 $sql="select manufacturer_id,manufacturer_name,manufacturer_address,manufacturer_code from manufacturer";
 //echo $sql;
 $result = mysqli_query($conn,$sql);
  //echo $result;
  ?><tr><th>Manufacturer Name</th><th>Manufacturer address</th><th>Manufacturer Code</th></tr><?php 
while($rowOfEmployee=mysqli_fetch_array($result)){

  ?><tr><td><?php  echo $rowOfEmployee['manufacturer_name']?></td><td><?php  echo $rowOfEmployee['manufacturer_address']?></td><td><?php  echo $rowOfEmployee['manufacturer_code']?></td>
</tr><?php 

}
?>
</table>
<?php 
//include('pdf_footer.php');
?>