The current version of the script takes care of the following conditions
- Creates a table if its missing
- Inserts data into the table from post json
- Updates the data if the same row is send again
- Alters the data table with newly added columns from the JSON POST
You need to following the instructions to make this script works It current works for single level parent form only
- setup a webserver and install this folder
- setup the correct mysql configurations in the includes/config file
- setup the endpoint in your iform http POST section 3.a In the end point please include the query parameter "tablename", this helps us understand the table name to insert data into e.g http://localhost/webserverice/dataReceive.php?tablename=my_current_table
- test all the conditions before deploying it on production forms.