I am very new to the iPhone SDK and have read many threads for integrating RESTful with iPhone. However, I am not wiser. You can help?
I have several PHP and a MySQL database row on the server. I POST 3 pieces of information from iPhone to PHP, which then meditates a bit and talks to the database.
It then returns 1, 2, or 3 values depending on the POSTed information and the database.
In cases where I have a problem, we record and save the answer in a way that can then be analyzed on the iPhone.
I tried to return the data as a string (echo / return), an array, and finally XML. None of this works.
Does anyone have any thoughts on this or can point me in the right direction?
The ideal situation would be to end up with an array or 3 variables that I could check with the basic if statement.
Thanks in advance.
Jim
source
share