24 lines
712 B
PHP
24 lines
712 B
PHP
|
<?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_Filter_Master_list.xls');
|
||
|
?>
|
||
|
<table border="1">
|
||
|
<?php
|
||
|
$sql="select * from add_filter_master";
|
||
|
//echo $sql;
|
||
|
$result = mysqli_query($conn,$sql);
|
||
|
?><tr><th>SR </th><th>Filter Name</th><th>Filter Code</th></tr><?php
|
||
|
$count=1;
|
||
|
while($rowOfEmployee=mysqli_fetch_array($result)){
|
||
|
|
||
|
?><tr><td><?php echo $count?></td><td><?php echo $rowOfEmployee['filter_name']?></td><td><?php echo $rowOfEmployee['filter_code']?></td>
|
||
|
</tr><?php
|
||
|
$count++;
|
||
|
}
|
||
|
?>
|
||
|
</table>
|
||
|
<?php
|
||
|
//include('pdf_footer.php');
|
||
|
?>
|