ESH/appointment_slot_pdf.php
2024-10-23 18:28:06 +05:30

33 lines
981 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 * FROM appoinment_slots";
//echo $sql;
$result = mysqli_query($conn, $sql);
//echo $result;
?><tr bgcolor='#eeeeee'>
<th style="width: 50%;" >Sr. No.</th>
<th style="width: 100%;">Slot Start</th>
<th style="width: 100%;">Slot End</th>
<th style="width: 100%;">Number of Slot</th>
</tr><?php
$count = 1;
while ($rowOfEmployee = mysqli_fetch_array($result)) {
?><tr>
<td><?php echo $count ?></td>
<td><?php echo $rowOfEmployee['slot'] ?></td>
<td><?php echo $rowOfEmployee['slot_end'] ?></td>
<td><?php echo $rowOfEmployee['slot_count'] ?></td>
</tr><?php
$count++;
}
?>
</table>
<?php
include('pdf_footer.php');
?>