-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathclubs.php
40 lines (25 loc) · 1.39 KB
/
clubs.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
<?php
include("include/visitorheader.php");
?>
<?php
echo("<h1 style= \"text-align: center\">Clubs Of the League</h1><br><br><br>");
$db = oci_connect('system','1234','xe');
$sql="select * from clubs";
$result=oci_parse($db,$sql);
oci_execute($result);
//echo $result;
echo ("<table class = \"table table-bordered\" style= \"text-align:center; background: black;color:white; border-radius:10px\" >");
echo " <tr>
<th style= \"text-align:center\">Club Name</a></th>
</tr>";
while($row=oci_fetch_array($result))
{
echo "<tr>
<td style= \"text-align:center\" ><a href=\"showclubs.php?id={$row[0]}\"> {$row[1]} </a></td>
</tr>";
}
echo "</table>";
?>
<?php
include("include/visitorfooter.php");
?>