36 lines
911 B
PHP
36 lines
911 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=covidwah_questions.xls');
|
|
mysqli_query($conn,'SET character_set_results=utf8');
|
|
?>
|
|
<table border="1">
|
|
<?php
|
|
$sql="select * from key_health_reportable_parameter_master";
|
|
//echo $sql;
|
|
$result = @mysqli_query($conn,$sql);
|
|
//echo $result;
|
|
|
|
?><tr bgcolor="#eeeeee">
|
|
<th width="5%">SR NO.</th>
|
|
<th width="50%">key Parameter Id</th>
|
|
<th width="50%">key Parameter name</th>
|
|
</tr><?php
|
|
$i=0;
|
|
while($row=@mysqli_fetch_array($result)){
|
|
$i++;
|
|
|
|
|
|
|
|
?><tr>
|
|
<td><?php echo $i?></td>
|
|
<td><?php echo $row['key_param_id']?></td>
|
|
<td><?php echo $row['key_param_name']?></td>
|
|
</tr><?php
|
|
}
|
|
?>
|
|
</table>
|
|
<?php
|
|
//include('pdf_footer.php');
|
|
?>
|