50 lines
1.2 KiB
PHP
50 lines
1.2 KiB
PHP
|
<?php include('pdf_header.php');
|
||
|
include('includes/config/config.php');
|
||
|
// include('pop_up_top.php');
|
||
|
?>
|
||
|
<table width="100%">
|
||
|
<tr>
|
||
|
<div style="font-size:12px">
|
||
|
<td width="25%" align="left"> Run Date :
|
||
|
<?php echo date("d-M-Y"); ?>
|
||
|
</td>
|
||
|
<td width="50%" align="center" style="font-size:20px"><strong>STATE MASTER LIST </strong></td>
|
||
|
<td width="25%" align="left"> User :
|
||
|
<?php echo $username ?>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<br>
|
||
|
<br>
|
||
|
<center>
|
||
|
<table border="1" style="text-align: center;" width="100%">
|
||
|
<?php
|
||
|
$sql = "SELECT * from state_form_master ORDER BY id DESC";
|
||
|
error_log($sql);
|
||
|
$result = mysqli_query($conn, $sql);
|
||
|
//echo $result;
|
||
|
?>
|
||
|
<tr bgcolor='#eeeeee'>
|
||
|
<td>Sr</td>
|
||
|
<td>State</td>
|
||
|
</tr>
|
||
|
|
||
|
<?php
|
||
|
$count = 1;
|
||
|
while ($row_staff = mysqli_fetch_assoc($result)) {
|
||
|
extract($row_staff);
|
||
|
?>
|
||
|
|
||
|
<tr>
|
||
|
<td><?php echo $count ?></td>
|
||
|
<td><?php echo $row_staff['state_code'] ?></td>
|
||
|
</tr>
|
||
|
<?php
|
||
|
$count++;
|
||
|
}
|
||
|
?>
|
||
|
</table>
|
||
|
</center>
|
||
|
<?php
|
||
|
include('pdf_footer.php');
|
||
|
?>
|