21 lines
686 B
PHP
21 lines
686 B
PHP
<?php include('pdf_header.php');
|
|
include('includes/config/config.php');
|
|
//include('pop_up_top.php');
|
|
?>
|
|
|
|
<table class="col-sm-offset-5" border="1">
|
|
<?php
|
|
$sql="select training_id,training_name,training_code,training_details from training";
|
|
//echo $sql;
|
|
$result = mysqli_query($conn,$sql);
|
|
//echo $result;
|
|
?><tr><th>Training Name</th><th>Training Code</th><th>Training Detail</th></tr><?php
|
|
while($rowOfEmployee=mysqli_fetch_array($result)){
|
|
?><tr><td><?php echo $rowOfEmployee['training_name']?></td><td><?php echo $rowOfEmployee['training_code']?></td><td><?php echo $rowOfEmployee['training_details']?></td></tr><?php
|
|
|
|
}
|
|
?>
|
|
</table>
|
|
<?php
|
|
include('pdf_footer.php');
|
|
?>
|