-
Notifications
You must be signed in to change notification settings - Fork 0
/
search-schedule.php
47 lines (47 loc) · 2.3 KB
/
search-schedule.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
<?php include "views/header.php"; ?>
<div class="content mt-3">
<div class="animated fadeIn">
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-header">
<strong>Jadwal Dokter</strong>
</div>
<div class="card-body card-block">
<form action="show-schedule" method="post" class="">
<div class="row form-group">
<select class="form-control" type="text" name="id_dokter">
<p style="color:red;"><?php echo ($error['dokter']) ? $error['dokter'] : ''; ?></p>
<option disabled selected>Pilih Dokter</option>
<?php
include 'controller/connection.php';
$data = mysqli_query($koneksi,
"SELECT * FROM dokter WHERE status=1;");
while($d = mysqli_fetch_array($data)){
echo "<option value='".$d['id_dokter']."'>".$d['nama_dokter']."</option>";
}
?>
</select>
</div><br>
<button type="submit" class="btn btn-primary">Lihat</button>
</form>
</div>
</div>
</div>
</div>
</div>
<nav class="nav-bottom">
<a href="help" class="nav-bottom__link">
<i class="material-icons nav-bottom__icon">help_outline</i>
<span class="nav-bottom__text">Help</span>
</a>
<a href="https://pendaftaran.rskiarachmi.co.id/" class="nav-bottom__link nav-bottom__link--active">
<i class="material-icons nav__icon">dashboard</i>
<span class="nav-bottom__text">Home</span>
</a>
<a href="https://pendaftaran.rskiarachmi.co.id/" class="nav-bottom__link">
<i class="material-icons nav-bottom__icon">arrow_back</i>
<span class="nav-bottom__text">Back</span>
</a>
</nav>
<?php include "views/footer.php"; ?>