I'm developing an app using Apache Cordova for Visual Studio. The purpose of this app is to take a picture using the phone and upload this picture alongside with some other user input data to our company's webpage, that uses a SQL-server Database to store it's data.
So, the question is: How can I insert data to this database so I can show it on the webpage, considering that the app will be used outside of our network? So it can't be a local connection to our database!
On device ready
Clean Up
Upload photo taken from camera
Function To Call The Camera
<a href="#" onclick="capturePhoto();">Take Picture</a>
Php part