Page 1 of 1

Run remote PHP script on form submit

Posted: Thu Jul 16, 2015 8:36 pm
by Moe

I currently have a web application, using javascript when the form is submitted it opens a PHP page for a second, and the PHP sends the user back to the application. (The PHP page then runs a script etc even after the user has left...). I'm looking to turn this into an android app. Is there a way to do this within Appery? Basically, the user will submit a form, I need to notify the PHP script of the submit and include the ID of the user. In my current application I just add the ?id=123456 in the end of the url.

Any advice or knowledge about how I can accomplish this with appery would be greatly appreciated.


Run remote PHP script on form submit

Posted: Fri Jul 17, 2015 7:18 pm
by Pavel Zarudniy

Hi Moe,
You can use some request to your script after submit event, more info - http://api.jquery.com/jquery.ajax/