Thank you for the reply. I actually found my error was in the PHP file. The PHP file always checked to see if SUBMIT was set because I always
test PHP though simple HTML forms that use submit. So, it wouldn't check anything since $_POST('Submit') was never set. Below is the final code I ended up using. I post this just in case anyone doing searching the web comes across this.
Thank you again for your help.
And the PHP file is shown below. It insert the values into a database recieved from the applet. All this code was simplified since it used to use over 100 variables to input. However, for the sake of anyone who is searching for ideas and possible solutions, this is much easier to look at and try out!