-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdaftar_alat.php
39 lines (37 loc) · 974 Bytes
/
daftar_alat.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
<?php require_once "config/koneksi.php";
?>
<!DOCTYPE html>
<html>
<meta charset="UTF-8">
<title> Peminjaman Alat </title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="style.css">
<head>
</head>
<?php
$alat = mysql_query("SELECT * FROM barang") or die(mysql_error());
?>
<div id="contents3">
<center>
<div id="items">
<h1>Peminjaman Alat</h1>
<div class="row">
<?php
while ($row_alat = mysql_fetch_array($alat))
{
?>
<img src="images/lcd.jpg" width="200px" height="150px" alt="">
<ul>
<li><a href="">Nama : <?php echo $row_alat['nama_brg']; ?></a></li>
<li><a href="">Stok : <?php echo $row_alat['stok_brg']; ?></li>
</ul>
<?php
}
?>
</div>
</ul>
</div>
</center>
</div>
<<?php require_once "templates/footer.php" ?>