<?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_city_list.xls'); ?> <center> <table border="1" style="text-align: center;" width="100%"> <?php $sql = "SELECT * from audit_finding_type_master ORDER BY id DESC"; $sql = base64_decode($filterkey); $result = mysqli_query($conn, $sql); //echo $result; ?> <tr bgcolor='#eeeeee'> <td width="10%">Sr</td> <td width="50%">AUDIT FINDING TYPE</td> </tr> <?php $count = 1; while ($row_staff = mysqli_fetch_assoc($result)) { extract($row_staff); ?> <tr> <td><?php echo $count ?></td> <td><?php echo $row_staff['finding_type'] ?></td> </tr> <?php $count++; } ?> </table> </center>