28 lines
698 B
PHP
28 lines
698 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=communication_item.xls');
|
|
?>
|
|
|
|
|
|
<table class="col-sm-offset-5" border="1">
|
|
<?php
|
|
$sql="select * from communication";
|
|
//echo $sql;
|
|
$result = mysqli_query($conn,$sql);
|
|
//echo $result;
|
|
?><tr bgcolor='#eeeeee'><th width=33%>SR. NO</th><th width=33%>COMMUNICATION ITEM NAME
|
|
</th></tr><?php
|
|
$count =1;
|
|
while($rowOfEmployee=mysqli_fetch_array($result)){
|
|
?><tr><td><?php echo $count?></td><td><?php echo $rowOfEmployee['com_item']?></td></tr><?php
|
|
$count++;
|
|
|
|
}
|
|
|
|
?>
|
|
</table>
|
|
<?php
|
|
|
|
?>
|