ESH/report_master_pdf.php

40 lines
1.1 KiB
PHP
Raw Normal View History

2024-10-23 18:28:06 +05:30
<?php
include('pdf_header.php');
include('log_entry.php');
?>
<link href="includes/css-js/admin.css" rel="stylesheet" type="text/css" />
<body>
<table width="100%" border="2px">
<?php
$sql = "select * from report_master";
//echo $sql;
error_log("query: " . $sql);
$result = @mysqli_query($conn, $sql);
//echo $result;
?><tr bgcolor="#eeeeee">
<th width="10%">Report Id</th>
<th width="10%">Report Code</th>
<th width="6%">Report Name</th>
<th width="10%">Report Type</th>
<th width="10%">Report URL</th>
<th width="10%">Function Name</th>
</tr><?php
$i = 0;
while ($row = @mysqli_fetch_array($result)) {
$i++;
?><tr>
<td><?php echo $i ?></td>
<td><?php echo $row['report_code'] ?></td>
<td><?php echo $row['report_name'] ?></td>
<td><?php echo $row['report_type'] ?></td>
<td><?php echo $row['report_url'] ?></td>
<td><?php echo $row['fun_name'] ?></td>
</tr><?php
}
?>
</table>
<?php
include('pdf_footer.php');
?>
</body>