-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlistusers.php
More file actions
43 lines (37 loc) · 949 Bytes
/
listusers.php
File metadata and controls
43 lines (37 loc) · 949 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
38
39
40
41
42
43
<?php
session_start();
include "db_conn.php";
$sql = "SELECT * FROM doctorlist";
//echo phpinfo();
$result = mysqli_query($conn, $sql);
/*while ($row = $result->fetch_assoc()) {
echo $row['user_name']."<br>";
}*/
?>
<!DOCTYPE html>
<html>
<head>
<title>List</title>
<link rel="stylesheet" type="text/css" href="indexx.css">
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<style>
.boxpnt{
background-color: red;
margin-bottom:4vh;
margin-top:4vh;
}
</style>
</head>
<body>
<div class="box">
<?php
while ($row = $result->fetch_assoc()) {
echo "<div class='boxpnt'>";
echo $row['user_name']."<br>";
echo $row['password']."<br>";
echo "</div>";
}
?>
</div>
</body>
</html>