Moe
Posts: 0
Joined: Thu Jul 10, 2014 9:24 pm

Run remote PHP script on form submit

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.

Pavel Zarudniy
Posts: 0
Joined: Mon Jul 06, 2015 8:56 am

Run remote PHP script on form submit

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

Return to “Issues”