23 lines
817 B
PHP
23 lines
817 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_category.xls');
|
||
|
?>
|
||
|
<table border="1">
|
||
|
<?php
|
||
|
$sql="select checkup_cat_id,checkup_cat_name,checkup_cat_desc,checkup_cat_code from checkup_category";
|
||
|
//echo $sql;
|
||
|
$result = mysqli_query($conn,$sql);
|
||
|
//echo $result;
|
||
|
?><tr><th>Checkup Category Name</th><th>Checkup Category Desc</th><th>Checkup Category Code</th></tr><?php
|
||
|
while($rowOfEmployee=mysqli_fetch_array($result)){
|
||
|
|
||
|
?><tr><td><?=$rowOfEmployee['checkup_cat_name']?></td><td><?=$rowOfEmployee['checkup_cat_desc']?></td><td><?=$rowOfEmployee['checkup_cat_code']?></td></tr><?php
|
||
|
|
||
|
}
|
||
|
?>
|
||
|
</table>
|
||
|
<?php
|
||
|
//include('pdf_footer.php');
|
||
|
?>
|