Browse Source

post dump

Axel Nordh 4 năm trước cách đây
mục cha
commit
908d129fa7

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

@@ -14,7 +14,7 @@ $leagues = $conn->getLeagues();
 <body>
 <body>
 <H2>Odds</H2>
 <H2>Odds</H2>
 
 
-<form id="selectionForm" action="matchTable.php">
+<form id="selectionForm" action="matchTable.php" method="post">
     <label for="countrySelector">Select country: </label>
     <label for="countrySelector">Select country: </label>
     
     
     <select name="countrySelector" id="countrySelector">
     <select name="countrySelector" id="countrySelector">
@@ -35,7 +35,7 @@ $leagues = $conn->getLeagues();
     ?>
     ?>
     </select>
     </select>
     
     
-	<input type='submit' id='getMatches' value='Submit Score'>Se Matcher</td>
+	<input type='submit' id='getMatches' value='Se Matcher'/>
 	
 	
 </form>
 </form>
 </br>
 </br>

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

@@ -1 +1,6 @@
-<?php echo "HEJ"; ?>
+<?php 
+
+var_dump($_POST);
+
+
+?>