-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathubah_paket.php
More file actions
48 lines (44 loc) · 1.93 KB
/
Copy pathubah_paket.php
File metadata and controls
48 lines (44 loc) · 1.93 KB
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
<!DOCTYPE html>
<html>
<head>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
<title></title>
</head>
<body>
<?php
include "koneksi.php";
$qry_get_paket=mysqli_query($conn,"select * from paket where id_paket = '".$_GET['id_paket']."'");
$dt_paket=mysqli_fetch_array($qry_get_paket);
?>
<br>
<h3 style="text-align:center">Perubahan Jenis Paket</h3>
<form action="proses_ubah_paket.php" method="post">
<input type="hidden" name="id_paket" value= "<?=$dt_paket['id_paket']?>">
<br>
<ul>
<fieldset class="row mb-3">
<legend class="col-form-label col-sm-2 pt-0"> Jenis Paket : </legend>
<div class="col-sm-10">
<select name="jenis_paket" class="form-control">
<option></option>
<option value="Kiloan">Kiloan</option>
<option value="Selimut">Selimut</option>
<option value="Bed-Cover">Bed Cover</option>
<option value="Kaos">Kaos</option>
</select>
</div>
</fieldset>
<div class="row mb-3">
<label name="harga" class="col-sm-2 col-form-label">Harga : </label>
<div class="col-sm-10">
<input type="text" name="harga" value="" class="form-control">
</div>
</div>
<br>
<ul>
<input type="submit" name="simpan" value="Ubah Member" class="btn btn-primary">
<a href="paket.php" class="form-btn btn btn-primary">Back</a>
</form>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4" crossorigin="anonymous"></script>
</body>
</html>