-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclass.DevelopersList.php
More file actions
43 lines (40 loc) · 1.38 KB
/
class.DevelopersList.php
File metadata and controls
43 lines (40 loc) · 1.38 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="developer.css">
<title>Document</title>
</head>
<body>
</body>
</html><?php
class DevelopersList{
function displayDevelopersList($result_set){
while ($row=mysqli_fetch_array($result_set,MYSQLI_ASSOC)){
//$query0="SELECT * FROM users WHERE email='{$row['email']}' LIMIT 1";
//$result_set0 = mysqli_query($connection,$query0);
//$user = mysqli_fetch_assoc($result_set0);
$d_email=$row['email'];
echo "<div class='raw'>";
echo "<div class='column'>";
echo "<div class='card'>";
echo "<p>";
echo "Name : ";
echo "<a href='view_developer_profile.php?email=$d_email'>";
echo $row['username'];
echo "</a>";
echo "</p>";
echo "<p>";
echo "email : ";
echo $row['email'];
echo "</p>";
echo "</div>";
echo "<br>";
echo "</div>";
echo "</div>";
}
}
}
?>