php从数据库中读取数据透过json发送到ios端

WBOY
Release: 2016-06-13 12:39:55
Original
785 people have browsed it

php从数据库中读取数据通过json发送到ios端
我在php端读取数据库,把读出来的数据放到一个json格式的字符串中,然后发送到ios端,但是发现读出来的数据全部变成1了,然后我在php端判断其中一个查询出来的值是否为我知道的一个字符串,如果相同,就把这个字符串赋值给它以后传回来的就是正常的字符串

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template