소스 검색

add match id

Axel Nordh 4 년 전
부모
커밋
2490694a00
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      OddsJavaFx/src/web/matchTable.php

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

@@ -34,6 +34,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>".$match['gameDate'] . "</td>";
         echo "<td>".$match['homeTeamName'] . "</td>";
         echo "<td>".$match['awayTeamName'] . "</td>";