-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathevents.php
60 lines (59 loc) · 1.21 KB
/
events.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
<html>
<head>
<title>Events</title>
<?php
require("connection.php");
include 'headerfile.php';
?>
</head>
<body onload=changeclass("events")>
<?php
include 'headerbody.php';
$cn=getconnection();
$sql="select * from events";
$rowsquery=mysqli_query($cn,$sql);
?>
<div class="py-3">
<div class="container">
<div class="row">
<div class="col-md-12">
<h1 class="design">News & Events</h1>
<br>
</div>
<div class="col-md-12">
<div class="table-responsive">
<table class="table table-condensed table-hover">
<thead>
<tr>
<th>S.No</th>
<th>Event / Program</th>
<th>Period</th>
<th>Supported By</th>
</tr>
</thead>
<tbody>
<?php
while($row=mysqli_fetch_row($rowsquery))
{
echo "<tr>";
echo "<td>".$row[0]."</td>";
echo "<td>".$row[1]."</td>";
echo "<td>".$row[2]."</td>";
echo "<td>".$row[3]."</td>";
echo "</tr>";
}
mysqli_close($cn);
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<?php
include 'js/jspage.php';
?>
</body>
</html>