-
Notifications
You must be signed in to change notification settings - Fork 0
/
klantgegevens.php
70 lines (62 loc) · 1.89 KB
/
klantgegevens.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() ?>
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<?php
include 'db_connect.php';
?>
<h1 color="black" style="text-align: center;">Gegevens</h1>
<div class="form" style="margin-left: 25%; height:50%;">
<form id="klantgegevens" class="table" method="post" style="margin-left: 22%;">
<table>
<?php
$query_user = "SELECT * FROM patient WHERE email = '{$_SESSION["Email"]}'";
$result = mysqli_query($connection, $query_user);
$row = mysqli_fetch_assoc($result);
?>
<tr>
<td>Verzekeringsnummer: <strong><?= $row["Verzekeringsnummer"] ?></strong></td>
</tr>
<tr>
<td>Geboorteplaats: <strong><?= $row["geboorteplaats"] ?></strong></td>
</tr>
<tr>
<td>Email: <strong><?= $row["Email"] ?></strong></td>
</tr>
<tr>
<td>Naam: <strong><?= $row["Naam"] ?></strong></td>
</tr>
<tr>
<td>Patientdata: <strong><?= $row["patientdata"] ?></strong></td>
</tr>
<tr>
<td>Adres: <strong><?= $row["adres"] ?></strong></td>
</tr>
<tr>
<td>Postcode: <strong><?= $row["postcode"] ?></strong></td>
</tr>
<tr>
<td>
<div>
<br>
<br>
<button onclick="location.href='./klantgevensaanpassen.php'" type="button" style="width: 250px;" class="button button1" > Klant gegevens aanpassen </button>
<br>
<button onclick="location.href='./klanthome.php'" type="button" style="width: 250px;" class="button button1" > Terug naar home </button>
<br>
</div>
</td>
</tr>
</table>
</form>
</div>
</div>
</body>
<br><br>
<footer>
<?php include 'footer.php'; ?>
</footer>
</html>