Explorar o código

Submit button

Axel Nordh %!s(int64=4) %!d(string=hai) anos
pai
achega
996f3de8da
Modificáronse 2 ficheiros con 12 adicións e 2 borrados
  1. 11 2
      OddsJavaFx/src/web/index.php
  2. 1 0
      OddsJavaFx/src/web/matchTable.php

+ 11 - 2
OddsJavaFx/src/web/index.php

@@ -14,7 +14,7 @@ $leagues = $conn->getLeagues();
 <body>
 <H2>Odds</H2>
 
-<form id="selectionForm">
+<form id="selectionForm" action="matchTable.php">
     <label for="countrySelector">Select country: </label>
     
     <select name="countrySelector" id="countrySelector">
@@ -34,6 +34,9 @@ $leagues = $conn->getLeagues();
         }
     ?>
     </select>
+    
+	<input type='submit' id='getMatches' value='Submit Score'>Se Matcher</td>
+	
 </form>
 </br>
 </br>
@@ -56,4 +59,10 @@ $leagues = $conn->getLeagues();
     
     </table>
 
-</body>
+</body>
+
+
+<script type="text/javascript">
+
+
+</script>

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

@@ -0,0 +1 @@
+<?php echo "HEJ"; ?>