21 lines
626 B
PHP
21 lines
626 B
PHP
<?php include('pdf_header.php');
|
|
include('includes/config/config.php');
|
|
//include('pop_up_top.php');
|
|
?>
|
|
<table border="1">
|
|
<?php
|
|
$sql="select inj_id,inj_name,inj_desc,inj_code from injury_part";
|
|
//echo $sql;
|
|
$result = mysqli_query($conn,$sql);
|
|
//echo $result;
|
|
?><tr><th>Injury Part</th><th>Injury Part Desc</th><th>Injury Part Code</th></tr><?php
|
|
while($rowOfEmployee=mysqli_fetch_array($result)){
|
|
|
|
?><tr><td><?php echo $rowOfEmployee['inj_name']?></td><td><?php echo $rowOfEmployee['inj_desc']?></td><td><?php echo $rowOfEmployee['inj_code']?></td></tr><?php
|
|
|
|
}
|
|
?>
|
|
</table>
|
|
<?php
|
|
include('pdf_footer.php');
|
|
?>
|