tags:

views:

32

answers:

1

how to i connect to mysql database and execute my query and display in iphone application may be in tabular view ..but not in any webview (safari)

A: 

if you're meaning a local sqlite database, try working through a tutorial. Something like: http://dblog.com.au/iphone-development-tutorials/iphone-sdk-tutorial-reading-data-from-a-sqlite-database/

if you're talking about a remote mysql database, you're going to have to build some kind of data (xml maybe?) file (in php, for example) on the server, and request that from your iPhone app. Once you have it you'll have to parse it somehow. There is no standard way of doing all this, so you have to re-invent the wheel a bit.

Kenny Winker