-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathuser-data.php
More file actions
36 lines (28 loc) · 745 Bytes
/
user-data.php
File metadata and controls
36 lines (28 loc) · 745 Bytes
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
<?php
include('config.php');
include('header.php');
?>
<div class="container-narrow">
<table class="table">
<thead>
<tr>
<th>#</th>
<th>Fullname</th>
<th>Username</th>
<th>Email</th>
<th>Password</th>
</tr>
</thead>
<tbody>
<?php
$users = R::findAll('user');
foreach ($users as $key => $u) {
echo '<tr><td>'.$u->id.'</td><td>'.$u->fullname.'</td><td>'.$u->twitter_name.'</td><td>'.$u->email.'</td><td>'.$u->password.'</td></tr>';
}
?>
</tbody>
</table>
</div> <!-- /container -->
<?php
include('footer.php');
?>