0
After SQL query and return data using JSON, using the browser Firefox is written the following on the screen:
0
HTTP/1.1 200 OK
Date: Sun, 12 Jun 2016 22:52:42 GMT
Server: Apache
X-Powered-By: PHP/5.3.28
Keep-Alive: timeout=5
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html
41
{"AQUI RETORNA O MEU":"JSON E ACABA"}
Using the Chrome Mobile on a smartphone this HTTP data does not appear, returning only JSON as desired.
Test page: www.megaprotecaoveicular.com.br/mobile/data.php
Thanks for your help.
Without the code that sends this message, there’s no way we can know what happens.
– Jéf Bueno
Guy who sucks this 0
– user45474
jbueno, I will edit by adding the code, but before it worked normally with the same code. And of all that it returns, only JSON is what I printed.
– Jhonatan Pereira
Opa! In the Chrome Mobile browser only returned JSON, which was the intended one. In Firefox for desktop it continues showing the other data. I conclude then that the "error" is not in the code... Just for your knowledge, you have any idea why it happens? '-'
– Jhonatan Pereira