Querying an online database?

Does anyone know if you can make an app that pulls information from a database off of the internet. For example phpMyAdmin? [import]uid: 42126 topic_id: 8660 reply_id: 308660[/import]

Sort of. The Corona app can’t manipulate the database directly, but what it can do is the normal web app architecture of a front-end that sends requests to PHP or Python on the backend. The code on the backend server can then manipulate the database based on what the front-end requested. [import]uid: 12108 topic_id: 8660 reply_id: 31105[/import]

Here’s a neat article that, while not Corona SDK specific, has some good information:

http://www.raywenderlich.com/2941/how-to-write-a-simple-phpmysql-web-service-for-an-ios-app

On the Corona side you’ll want to look into network.request()
http://developer.anscamobile.com/reference/index/networkrequest

Hopefully that will get you headed in the right direction.

Jay
[import]uid: 9440 topic_id: 8660 reply_id: 31171[/import]