-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuser.php
63 lines (51 loc) · 1.5 KB
/
user.php
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/table.css">
</head>
<body>
<?php
require_once 'connexion.php';
$query = "select * from utilisateur where 1";
$result = mysqli_query($connect , $query);
echo "
<section>
<div id=wrapper>
<div class=tbl-header>
<table cellpadding=0 cellspacing=0 border=0>
<thead>
<tr>
<th><span>Id</span></th>
<th><span>Nom complet</span></th>
<th><span>Email</span></th>
<th><span>Tel</span></th>
<th><span>Date d'inscription</span></th>
</tr>
</thead>
</table>
</div>";
echo"
<div class=tbl-content>
<table cellpadding=0 cellspacing=0 border=0>
<tbody>
<tr>";
while($pr=mysqli_fetch_row($result))
{
echo "<tr>";
//echo "<form action='deluser.php' method='POST'>";
//echo "<td> <h4><input type='checkbox' name='$pr[0]' value='$pr[0]'></h4></td> ";
echo "<td>" . $pr[0] . "</td>";
echo "<td>" . $pr[1] . "</td>";
echo "<td>" . $pr[2] . "</td>";
echo "<td>" . $pr[3] . "</td>";
echo "<td>" . $pr[4] . "</td>";
echo "</tr>";
}
echo "</tbody> </table></div>
</section>";
//echo "<input type=image align =right src=del.png height=60px width=60px>";
//echo "</form>";
mysqli_close($connect);
?>
</body>
</html>