Hi,
I'm trying to send login datato php script, when click on submit button. I
want to send data as Post for php script, via JSON.
This is my code on java file (piece of the form):
final TextBox mioUsername = new TextBox();
final PasswordTextBox miaPassword = new PasswordTextBox();
Button
// username and password sent from form
$myusername=$_POST['myusername'];
$mypassword=$_POST['mypassword'];
You will need to json_decode() the request before you can access
the variables within. Further the incoming request JSON should be assigned
to a variable (i.e. msg=JSON) so that