Przeglądaj źródła

hidden table column

Axel Nordh 4 lat temu
rodzic
commit
35e272f050
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      OddsJavaFx/src/web/matchTable.php

+ 2 - 1
OddsJavaFx/src/web/matchTable.php

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