-
Notifications
You must be signed in to change notification settings - Fork 0
/
bestellen_stap1_parse.php
69 lines (47 loc) · 1.33 KB
/
bestellen_stap1_parse.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
61
62
63
64
65
66
67
68
69
<?php
session_start();
$nam = $_SESSION["naam"];
include 'db_connect.php';
?>
<!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'; ?>
<?php
$query = "SELECT *
FROM `patient`
WHERE `naam` = '".$nam."';";
$result = mysqli_query($connection, $query);
mysqli_close($connection);
?>
<h1 color="black" style="text-align: center;">Bestelling plaatsen</h1>
<table width="300" border="1" cellpadding="1" cellspacing="1" align="center">
<tr>
<th>Verzekeringsnummer</th>
<th>Naam</th>
<th></th>
</tr>
<?php
while( $row = mysqli_fetch_assoc($result) )
{
echo "<tr>
<td>".$row["Verzekeringsnummer"]."</td>
<td>".$row["Naam"]."</td>
<td>
<a href='bestellen_stap3.php?verzekeringsnummer=".$row["Verzekeringsnummer"]."'/>
<img src='icons/drop.png' alt='Receptaanmaken'>
</a>
</td>
</tr>";
}
?>
</table>
</body>
<br><br>
<footer>
<?php include 'footer.php'; ?>
</footer>
</html>