-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata.php
More file actions
48 lines (43 loc) · 1.69 KB
/
data.php
File metadata and controls
48 lines (43 loc) · 1.69 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Detail Page</title>
</head>
<body>
<h1>User Detail Page</h1>
<div id="result-table">
<table border="1">
<tr>
<th>Name</th>
<th>Father Name</th>
<th>Mobile No.</th>
<th>Father Mobile No.</th>
<th>Email</th>
<th>Adddress</th>
<th>User Name</th>
</tr>
<tr>
<td id="first"></td>
<td id="second"></td>
<td id="third"></td>
<td id="fourth"></td>
<td id="fifth"></td>
<td id="sixth"></td>
<td id="seventh"></td>
</tr>
</table>
<br>
</div>
<script>
window.onload = function() {
document.getElementById('first').innerText = localStorage.getItem('name');
document.getElementById('second').innerText = localStorage.getItem('fname');
document.getElementById('third').innerText = localStorage.getItem('mob');
document.getElementById('fourth').innerText = localStorage.getItem('fmob');
document.getElementById('fifth').innerText = localStorage.getItem('email');
document.getElementById('sixth').innerText = localStorage.getItem('addr');
document.getElementById('seventh').innerText = localStorage.getItem('username');
};
</script>
</body>
</html>