-
Notifications
You must be signed in to change notification settings - Fork 0
/
commentarenklantapotheker.php
60 lines (41 loc) · 1.48 KB
/
commentarenklantapotheker.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
57
58
59
60
<?php
session_start();
include 'db_connect.php';
$querycommentaar = "SELECT o.idOrder, p.verzekeringsnummer, p.Naam, p.adres, p.postcode, o.leverdatum, o.levertijd, p.email, o.commentaar FROM `order` as o, `patient` as p
WHERE p.verzekeringsnummer = o.patient";
$resultcommentaar = mysqli_query($connection, $querycommentaar);
?>
<!DOCTYPE html>
<html lang="en">
<link rel="stylesheet" type="text/css" href="style.css">
<link href="datetimepicker/sample in bootstrap v2/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
</head>
<body>
<?php include 'navbar_apotheker.php'; ?>
<h1 color="black" style="text-align: center;">Leveringen</h1>
<table border="2px solid black" width="300" border="1" cellpadding="1" cellspacing="1" align="center" >
<tr>
<th>orderID</th>
<th>Verzkeringsnummer</th>
<th>Naam</th>
<th>Commentaar</th>
</tr>
<?php
while( $row = mysqli_fetch_assoc($resultcommentaar) )
{
echo "<tr>
<td>".$row["idOrder"]."</td>
<td>".$row["verzekeringsnummer"]."</td>
<td>".$row["Naam"]."</td>
<td>".$row["commentaar"]."</td>
</tr>";
}
mysqli_close($connection);
?>
</table>
<div style="text-align:center;">
<br>
<button onclick="location.href='./apothekerhome.php'" type="button" style="width: 20%;" class="button button1" > Terug </button>
<br>
</div>
</body>