Ad

Connecting To MySQL Database With My IOS App

- 1 answer

I am writing an iOS app for my school to keep track of pupil's rewards, grades, etc. I need to connect to a MySQL online database with my app, I need to be able to upload to it, query it, and download the results to display in my app.

I think I need to do this via a PHP page, however there is no reasonably clear tutorial on how to do it. Any help would be appreciated!

Thanks in advance!

Ad

Answer

You need a webserver with a PHP/ASP/JSP/etc script to interact with the database. Create an API with common operations like SELECT, UPDATE or INSERT, and then call this url's inside the iOS app.

Usefull links:

Ad
source: stackoverflow.com
Ad