-
Notifications
You must be signed in to change notification settings - Fork 0
/
perusahaan.php
43 lines (42 loc) · 1.06 KB
/
perusahaan.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
include "header.php";
?>
<h2 class="mt-3" align="center">Daftar Perusahaan</h2>
<div class="container-fluid">
<div class="row">
<div class="col">
<table class="table">
<thead>
<tr>
<th scope="col">No.</th>
<th scope="col">Nama Perusahaan</th>
<th scope="col">Alamat</th>
<th scope="col">Posisi</th>
<th scope="col">Action</th>
</tr>
<?php
include 'koneksi.php';
$perusahaan = mysqli_query($koneksi,"SELECT * FROM perusahaan");
$no = 1;
while($d = mysqli_fetch_array($perusahaan)){
?>
</thead>
<tbody>
<tr>
<th scope="row"><?php echo $no++; ?></th>
<td><?php echo $d['nama']; ?></td>
<td><?php echo $d['alamat']; ?></td>
<td><?php echo $d['butuh']; ?></td>
<td> <a href="daftar.php?id=<?php echo $d['id']; ?>" class="btn btn-warning text-white">Apply</a></td>
</tr>
<?php
}
?>
</tbody>
</table>
</div>
</div>
</div>
<?php
include "footer.php";
?>