I read the database on the PHP side, put the read data into a JSON-formatted string, and then sent to the iOS, but found that the data read all become 1, and then I in the PHP side to determine whether the value of one of the query is a string I know, if the same, Just assign the string to it and pass it back to the normal string.
Reply to discussion (solution)
Don't understand, what kind of data has become 1?
Put the code on it, look.
Solved, I put the data from the database query in the string connection, there will be problems, and now directly in the array there is no problem
I just recently learned iOS. Do not know how to read data from the database,,, PHP How to send data to the iOS side ...
Hello everyone, I do not understand the database storage of the article has font format, font size, there are line breaks and so on and so on how can I read out of the normal display of the data? I put the read data on the lable display is the format of the settings. The teacher said in the analysis of OK but then the format of what the resolution I am not very good, so I would like to ask the big God do not know how to solve .... Hope the great God to give a reply .... Thank you