nanothread
nanothread

Reputation: 908

Connecting To MySQL Database with my iOS App

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!

Upvotes: 1

Views: 8227

Answers (1)

Sergio Álvarez
Sergio Álvarez

Reputation: 81

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:

Upvotes: 1

Related Questions