|
@@ -17,6 +17,7 @@ $matches = $conn->getMatches($countryId, $leagueId);
|
|
|
<table id="matchTable">
|
|
<table id="matchTable">
|
|
|
<thead>
|
|
<thead>
|
|
|
<tr>
|
|
<tr>
|
|
|
|
|
+ <th hidden/>
|
|
|
<th>Datum</th>
|
|
<th>Datum</th>
|
|
|
<th>Hemma lag</th>
|
|
<th>Hemma lag</th>
|
|
|
<th>Borta lag</th>
|
|
<th>Borta lag</th>
|
|
@@ -34,7 +35,7 @@ $matches = $conn->getMatches($countryId, $leagueId);
|
|
|
foreach ($matches as $match) {
|
|
foreach ($matches as $match) {
|
|
|
echo "<form action='makeBet.php' method='post'>";
|
|
echo "<form action='makeBet.php' method='post'>";
|
|
|
echo "<tr>";
|
|
echo "<tr>";
|
|
|
- echo "<td><input hidden id='gameId' name='gameIdName' value='" . $match['id'] . "'/>";
|
|
|
|
|
|
|
+ echo "<td hidden><input hidden id='gameId' name='gameIdName' value='" . $match['id'] . "'/>";
|
|
|
echo "<td>".$match['gameDate'] . "</td>";
|
|
echo "<td>".$match['gameDate'] . "</td>";
|
|
|
echo "<td>".$match['homeTeamName'] . "</td>";
|
|
echo "<td>".$match['homeTeamName'] . "</td>";
|
|
|
echo "<td>".$match['awayTeamName'] . "</td>";
|
|
echo "<td>".$match['awayTeamName'] . "</td>";
|