-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloadUserProcess.php
More file actions
37 lines (23 loc) · 892 Bytes
/
loadUserProcess.php
File metadata and controls
37 lines (23 loc) · 892 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
37
<?php
include "connection.php";
$rs = Database::search("SELECT * FROM `user` WHERE `user_type_id` = '1' ");
$num = $rs->num_rows;
for ($i = 0; $i < $num; $i++) {
$d = $rs->fetch_assoc();
?>
<tr>
<td class="table-primary"><?php echo $d["fname"] ?></td>
<td class="table-primary"><?php echo $d["lname"] ?></td>
<td class="table-primary"><?php echo $d["mobile"] ?></td>
<td class="table-primary"><?php echo $d["email"] ?></td>
<td class="table-primary"><?php echo $d["gender_gender_id"] ?></td>
<td class="table-info" onclick="changestatus();" ><?php if ($d["status_status_id"] == 1) {
echo ("Active");
} else {
echo ("Deactive");
}
?></td>
</tr>
<?php
}
?>