<?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 event_id,event_name,event_code,event_desc from event"; //echo $sql; $result = mysqli_query($conn,$sql); //echo $result; ?><tr bgcolor='#eeeeee'><th width=25%>Event Id</th><th width=25%> Event Name</th><th width=25%>Event Code</th><th width=25%>Event Description</th></tr><?php while($rowOfEmployee=mysqli_fetch_array($result)){ ?><tr><td><?php echo $rowOfEmployee['event_id']?></td><td><?php echo $rowOfEmployee['event_name']?></td><td><?php echo $rowOfEmployee['event_code']?></td><td><?php echo $rowOfEmployee['event_desc']?></td></tr><?php } ?> </table> <?php include('pdf_footer.php'); ?>