Post to PHP Form
I made a Java Applet game, and I would like to add a high score list. To do this, I created a MySQL table to store the scores and a PHP script to save/display the scores.
I can not figure out how to post the player's name and score from my Java applet to the PHP form to save it in the MySQL table. I spent a while Googling it, and everything I found was for more advanced stuff than just passing a name and integer to the PHP.
Here is what I have so far:
To the left is the scoreboard along with an HTML form I made just to make sure that the everything was working. To the right is the game, and at the end of the game I would like the java applet to post the player's name and score to the webpage it is on so it can be received by the PHP and sent to the MySQL table
Thanks in advance