csrtechnew.ohctech.in/excel_qualification_master.php
2025-04-14 13:28:09 +05:30

34 lines
881 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=Qualification Master.xls');
?>
<table class="col-sm-offset-5" border="1">
<?php
$sql = "SELECT * FROM qualification"; //echo $sql;
$result = mysqli_query($conn,$sql);
//echo $result;
?><tr bgcolor='#eeeeee'>
<th width="15%" ;>Qualification</th>
<th width="10%" ;>Code</th>
<th width="10%" ;>Q-seq</th>
</tr> <?php
while($rowOfEmployee=mysqli_fetch_array($result)){
?><tr>
<td><?php echo $rowOfEmployee['id'] ?></td>
<td><?php echo $rowOfEmployee['qualification'] ?></td>
<td><?php echo $rowOfEmployee['code'] ?></td>
<td><?php echo $rowOfEmployee['q_seq'] ?></td>
</tr><?php
}
?>
</table>
<?php
//include('pdf_footer.php');
?>