47 lines
1.3 KiB
PHP
47 lines
1.3 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:30px"><strong>DISPOSAL AGENCY </strong></td>
|
|
<td width="25%" align="left"> User :
|
|
<?php echo $username ?>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table border="1">
|
|
<?php
|
|
$sql="select agency_id, agency_name, agency_address,regestration_no,allocated_reg_no from disposal_agency";
|
|
//echo $sql;
|
|
$result = mysqli_query($conn,$sql);
|
|
//echo $result;
|
|
?>
|
|
<tr bgcolor='#eeeeee'>
|
|
<th width=25%>Agency Name </th>
|
|
<th width=25%>Agency Address</th>
|
|
<th width=25%>Regestration No.</th>
|
|
<th width=25%>Allocated Reg. No. to OHC</th>
|
|
</tr>
|
|
<?php
|
|
while($rowOfEmployee=mysqli_fetch_array($result)){
|
|
|
|
?>
|
|
<tr>
|
|
<td><?php echo $rowOfEmployee['agency_name']?></td>
|
|
<td><?php echo $rowOfEmployee['agency_address']?></td>
|
|
<td><?php echo $rowOfEmployee['regestration_no']?></td>
|
|
<td><?php echo $rowOfEmployee['allocated_reg_no']?></td>
|
|
</tr>
|
|
<?php
|
|
|
|
}
|
|
?>
|
|
</table>
|
|
<?php
|
|
include('pdf_footer.php');
|
|
?>
|