|
|
@@ -68,8 +68,31 @@ $leagues = $conn->getLeagues();
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- var_dump($result);
|
|
|
+ ?>
|
|
|
+ <table>
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th>League</th>
|
|
|
+ <th>Wins</th>
|
|
|
+ <th>Losses</th>
|
|
|
+ <th>Result</th>
|
|
|
+ <th>Pending</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ <?php
|
|
|
+ foreach ($result as $res) {
|
|
|
+ echo "<tr>";
|
|
|
+ echo "<td>" . $res . "</td>";
|
|
|
+ echo "<td>" . $res['wins'] . "</td>";
|
|
|
+ echo "<td>" . $res['losses'] . "</td>";
|
|
|
+ echo "<td>" . $res['result'] . "</td>";
|
|
|
+ echo "<td>" . $res['pending'] . "</td>";
|
|
|
+ }
|
|
|
+
|
|
|
?>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
|
|
|
</body>
|
|
|
|