Welcome to the Treehouse Community
Looking to learn something new?
I'm currently in the process of finishing my uni project but have become stuck on a certain function.
I have a form that takes user details but can't understand the concept to dedicating specified time slots with the ability of deleting or removing that time as soon as an end-user takes in their form submission. - What is the best approach to this?
Also, I used a PHP script to submit the form information to a specified email address but when using PhoneGap to make the code into a mobile application the form will not work within the application. Research has shown that PHP will not work. Is there a work around this?
I really appreciate any support given on this, as I'm feeling the pressure with deadlines around the corner.
Thanks a million.
Andrew McCormick17,729 Points
Phonegap will not display a PHP page. You need to use AJAX to communicate with a PHP script running on your server and then sending the information back to an html page to display in your app. Check out this to start: http://www.php4every1.com/tutorials/jquery-ajax-tutorial/