Hi All, I am very new to the iPhone SDK and have read many threads on RESTful service integration with the iPhone. However I am none the wiser. Can you help?
I have some PHP and a MySQL database string on a server. I POST 3 pieces on information from the iPhone to the PHP which then does some thinking and chatting to the database.
It then returns 1, 2 or 3 values depending on the information POSTed and the database.
Where I am having the problem is capturing and storing the response in a way that can then be analysed on the iPhone.
I have tried returning the data as a string (echo/return), an array, and finally XML. None of which seems to work.
Does anyone have any thoughts on this, or might point me in the right direction?
The ideal situation would be to end up with an array or 3 variables that I could test with a basic if statement.
Thanks in advance.