-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathteam.php
More file actions
49 lines (36 loc) · 1.06 KB
/
Copy pathteam.php
File metadata and controls
49 lines (36 loc) · 1.06 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
49
<!DOCTYPE html>
<html lang="en">
<head>
<?php include 'inc/head.php'; ?>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.css">
<title>Groups | Rendezvous </title>
</head>
<body>
<?php include'inc/nav.php';
$sql = "SELECT * FROM team";
$res = mysqli_query($conn, $sql);
?>
<div class="card centerCard">
<h2>Groups</h2>
<?php
if(mysqli_num_rows($res)>0){
while($row = mysqli_fetch_assoc($res)){
echo'<a href="singleTeam.php?id='.$row['id'].'"><div class="snRow">
<p><img src="img/team.svg" width="30px" style="margin-right:10px;margin-bottom:5px;">'.$row['name'].'
<a href="editTeam.php?id='.$row['id'].'"><div class="ed"> <img src="img/edit.png" width="20px" alt="">
</div></a>
</p></div></a>';
}
}
?>
</div>
<a href="addTeam.php">
<div class="floating" alt="Hey">
<img src="img/group_add.svg" width="25px" alt="">
</div>
</a>
</body>
</html>