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

23 lines
865 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_checkup_result.xls');
?>
<table border="1">
<?php
$sql="select chk_result_cat_id,chk_result_cat_name,chk_result_cat_code,chk_result_cat_desc from checkup_result_category";
//echo $sql;
$result = mysqli_query($conn,$sql);
//echo $result;
?><tr><th>Checkup Result Category Name</th><th>Checkup Result Category Desc</th><th>Checkup Result Category Code</th></tr><?php
while($rowOfEmployee=mysqli_fetch_array($result)){
?><tr><td><?=$rowOfEmployee['chk_result_cat_name']?></td><td><?=$rowOfEmployee['chk_result_cat_desc']?></td><td><?=$rowOfEmployee['chk_result_cat_code']?></td></tr><?php
}
?>
</table>
<?php
//include('pdf_footer.php');
?>