-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtampil.php
56 lines (43 loc) · 1.78 KB
/
tampil.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
44
45
46
47
48
49
50
51
52
53
54
55
56
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<title>Form Get & Post</title>
</head>
<body>
<section id="content">
<div class="container">
<div class="row">
<div class="col">
<div class="row m-auto mt-3 shadow p-3 mb-5 bg-body rounded" style="width: 50rem;">
<div class="col">
<div class="">
<h2 class="text-center">Selamat Datang <?= $_POST["nama"]; ?></h2>
<div class="card-body">
<div class="row justify-content-center">
<div class="col-md-5">
<form action="tampil.php" method="POST">
<div class="mb-3">
<label for="">Nama Anda : <?= $_POST["nama"]; ?></label>
</div>
<div class="mb-3">
<label for="">Email Anda : <?= $_POST["email"]; ?></label>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
</body>
</html>