<!DOCTYPE html>
<html>
<head>
<title>pehapecode</title>
<link rel="stylesheet" type="text/css" href="fix_head.css">
</head>
<body>
<table class="fixed-th">
<thead>
<tr>
<th>No</th>
<th>Nama Perusahaan</th>
<th>Judul Tender</th>
<th>Jenis Dokumen</th>
<th>No. Tender</th>
<th>No. Kontrak</th>
<th>Tahun</th>
<th>Buyer</th>
<th>No. Lemari</th>
<th>No. Box</th>
<th>Status</th>
<th>Tanggal</th>
</tr>
</thead>
<tbody>
<?php include "koneksi.php"; ?>
<?php $result=mysql_query("select * from fill where status='User'"); ?>
<?php while ($row=mysql_fetch_array($result)): ?>
<tr>
<td><?php echo $row['no'] ?></td>
<td><?php echo $row['vendor'] ?></td>
<td><?php echo $row['judul_tender'] ?></td>
<td>
<?php $exp = explode(",",$row['jenis_dokumen']); ?>
<?php foreach ($exp as $enter): ?>
<?php echo $enter ?></br>
<?php endforeach; ?>
</td>
<td><?php echo $row['no_tender'] ?></td>
<td><?php echo $row['no_kontrak'] ?></td>
<td><?php echo $row['tahun'] ?></td>
<td><?php echo $row['pemilik'] ?></td>
<td><?php echo $row['lemari'] ?></td>
<td><?php echo $row['no_box'] ?></td>
<td><?php echo $row['status'] ?></td>
<td><?php echo $row['tgl_status'] ?></td>
</tr>
<?php endwhile; ?>
</tbody>
</table>
</body>
</html>
Comments