-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAccountInfo.php
73 lines (50 loc) · 1.65 KB
/
AccountInfo.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
70
71
72
73
<?php
$conn;
include 'connection.php';
$sql = "SELECT username,email,designation from signup where email !='[email protected]'";
$result = mysqli_query($conn, $sql);
while($row = mysqli_fetch_assoc($result)) {
$result_array[] = $row;
}
mysqli_close($conn);
?>
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>Task Manager</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
<link rel="stylesheet" href="resources/css/account_style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<style>
h2{margin-left: 100px;}
</style>
</head>
<body>
<div class="w3-container w3-black">
<ul>
<img class="logo" src="resources/img/logo2.png" width="100" alt="image" height="70">
</ul>
</div>
<div class="table-users">
<div class="header">Employee Information</div>
<table cellspacing="0">
<tr>
<th>UserName</th>
<th>Email</th>
<th width="230">Designation</th>
</tr>
<?php
foreach($result_array as $row) { ?>
<tr>
<td><?=$row["username"]?></td>
<td><?=$row["email"]?></td>
<td><?=$row["designation"]?></td>
</tr>
<?php }
?>
</table>
</div>
</body>
</html>