-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontest.php
executable file
·33 lines (26 loc) · 1002 Bytes
/
contest.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
<?php
require 'config.php';
require 'layout.php'
?>
<div class="container-fluid" style="margin: 5%">
<div class="table-responsive">
<table class="table" border="0" align="center" style="width: 80%">
<col width="20%">
<col width="20%">
<col width="30%">
<col width="30%">
<thead class="thead-inverse" style="color:black"><tr><th>Event_id</th><th>Event_Name</th><th>Start_time</th><th>End_time</th></tr></thead>
<tbody>
<?php
$query2 = "select * from practice_event";
$result2 = mysqli_query($dbConn,$query2);
while($row2 = mysqli_fetch_array($result2))
{
printf("<tr><td><a href=\"user_question.php?Name=".$row2[0]."\">".$row2[0]."</a></td><td>$row2[1]</td><td>$row2[2]</td><td>$row2[3]</td></tr>");
}
?>
</tbody>
</table>
</div>
</div>
</html>