I'm creating an app in HTML CSS and JS with Cordova . And I would like to know how I connect it to a database on a server ... In the case I want to get the information from it and pass it to the app.
I'm creating an app in HTML CSS and JS with Cordova . And I would like to know how I connect it to a database on a server ... In the case I want to get the information from it and pass it to the app.
I have an app that works this way. What you need to do is connect php to mysql and all operations of update, select, insert do in php. Every time you need to do some operation, you can use an ajax and point to the urls where your php files are.