Thanks Ray - that makes sense. I added that and nothing is happening on the app side.
So I guess that suggests the issue is with the JS on the app side.
I get that:
Request.post("http://www.miradatravelmedia.com/GSG_App/login.php", { Log_In_group_Username: Log_In_group_Username, Log_In_group_Password: Log_In_group_Password })
Should send the variables:
var Log_In_group_Username = UsernameInput
var Log_In_group_Password = PasswordInput
to the web server.
And they should be picked up in the line:
<?php
"columnValues" => explode($WA_Auth_Separator,"".((isset($_POST["Log_In_group_Username"]))?$_POST["Log_In_group_Username"]:"") ."".$WA_Auth_Separator."".((isset($_POST["Log_In_group_Password"]))?$_POST["Log_In_group_Password"]:"") .""), ?php>
And I follow that
if (response === 'Log in success') {
Event.trigger('loginSuccess');
} else {
Event.trigger('loginFail');
}
Should pick up whatever is output on the web server and then do one of two things, depending in what it is.
But not so sure what the var result = is doing?