-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlistPendaftar.php
65 lines (64 loc) · 1.72 KB
/
listPendaftar.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
64
65
<?php
include "dbcon.php";
$qrPendaftar = "SELECT
name,
nim,
email,
phone,
kelompok,
file
FROM pendaftaran
ORDER BY nim ASC
/*LIMIT 0,3*/
";
$getPendaftar = mysql_query($qrPendaftar);
?>
<div id="content">
<div class="container">
<div class="row">
<table border="1">
<thead>
<tr>
<label><h2>Daftar Pendaftar</h2></label>
</tr>
<tr>
<th style='font-size:90%' valign='middle'>
Nama
</th>
<th style='font-size:90%' valign='middle'>
NIM
</th>
<th style='font-size:90%' valign='middle'>
Email
</th>
<th style='font-size:90%' valign='middle'>
Phone
</th>
<th style='font-size:90%' valign='middle'>
Kelompok
</th>
<th style='font-size:90%' valign='middle'>
File
</th>
</tr>
</thead>
<tbody>
<?php
while($resultPendaftar=mysql_fetch_assoc($getPendaftar)) {
?>
<tr>
<td width='10%' valign='middle' ><?php echo $resultPendaftar['name']; ?></td>
<td width='10%' valign='middle' ><?php echo $resultPendaftar['nim']; ?></td>
<td width='10%' valign='middle' ><?php echo $resultPendaftar['email']; ?></td>
<td width='10%' valign='middle' ><?php echo $resultPendaftar['phone']; ?></td>
<td width='10%' valign='middle' ><?php echo $resultPendaftar['kelompok']; ?></td>
<td width='10%' valign='middle' ><a title="download file" href="download.php?file=<?php echo $resultPendaftar['file']; ?>"><?php echo $resultPendaftar['file']; ?></a></td>
</tr>
<?php
}
?>
</tbody>
</table>
</div>
</div>
</div>